Hi Jose,

On 5/22/2014 1:37 PM, Jose Blanco wrote:
> I have a few questions, that I think are going to be simple.
>
> (1)  I was looking at the cron jobs needed for 4.1 and notice that we now use:
>
> $DSPACE/bin/dspace index-discovery
>
> I've been running the following in 3
>
> $DSPACE/bin/dspace update-discovery-index
>
> So I suppose index-discovery is taking the place of update-discovery-index?

That's correct, "update-discovery-index" was renamed to 
"index-discovery" in DSpace 4.x

>
> (2) In previous upgrades, I've run
>
> ./dspace index-init
>
> But I see that is no longer in the documentation.  I'm going to
> continue to use ArtifactBrowse because I have some customizations in
> there that I would like to keep.  So would I need to run dspace
> index-init?

By default, in DSpace 4, everything runs through Discovery (Search & 
Browse). So, by default, the old browse indexes (in the database) and 
the old search indexes (in Lucene) are now disabled entirely. The 
"index-init" script used to control those indexes, and it has been split 
into two scripts:
* index-db-browse - to update DB browse indexes (if enabled)
* index-lucene-init - to update Lucene search indexes (if enabled)

However, by default, you should only need to use "index-discovery" if 
you have Discovery enabled, as the older search/browse options are no 
longer necessary.

If you wanted to re-enable the older search/browse options, there's 
documentation on that at:
https://wiki.duraspace.org/display/DSDOC4x/Legacy+methods+for+re-indexing+content
(However, you probably should not run both Discovery and an older 
search/browse, as Discovery now handles everything itself.)

- Tim

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to