Hi,

On 08/01/13 09:48, Jose Blanco wrote:
> I'm planning on  releasing Manakin and I will be using discovery, [...]
>
> My question is should I run
>
> ./bin/dspace update-discovery-index
>
> as a cron job nightly to maintain the discovery index up-to-date?

You shouldn't have to -- the event consumer that you set up as part of
enabling Discovery should ensure that your index is updated whenever you
change items through the normal DSpace mechanisms. If you change items /
item metadata directly in the database, no event will be fired, so in
that case you'll have to update the index manually (same for
non-Discovery indexing). In that case, update-discovery-index -fc is
probably best (force update, remove deleted documents).

Note that the documentation recommends to run update-discovery-index -o
periodically to help improve memory usage
(https://wiki.duraspace.org/display/DSDOC18/Discovery#Discovery-RoutineDiscoverySOLRIndexMaintenance).
This optimises the solr core but it won't make any changes to what is
indexed.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to