Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fix spring-dspace-addon-discovery-configuration-services.xml location, change dspace.dir to [dspace]

...

As with any upgrade procedure, it is highly recommend that you backup your existing data thoroughly. Although upgrades in versions of Solr/Lucene do tend to be forwards compatible for the data stored in the Lucene index, it is always a best practice to backup your dspace.dir dspace/solr/statistics cores to assure no data is lost.

...

  • General settings: The discovery.cfg file located in the dspace.dir/config/modules directory.
  • User Interface Configuration: The spring-dspace-addon-discovery-configuration-services.xml file is located in dspace.dir/config/spring/discovery/ directory.

General Discovery settings (config/modules/discovery.cfg)

The discovery.cfg file is located in the dspace.dir/config/modules directory and contains following properties:

...

The spring-dspace-addon-discovery-configuration-services.xml file is located in the dspace.dir/config/spring directory.

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="70ab19f1df02e147-97090dab-4a0a41e6-ad25aa07-39edf632ffecd6bd66062e76"><ac:plain-text-body><![CDATA[

Command used:

[dspace]/bin/dspace update-discovery-index [-cbhf[r <item handle>]]

]]></ac:plain-text-body></ac:structured-macro>

Java class:

org.dspace.discovery.IndexClient

Arguments (short and long forms):

Description

 

called without any options, will update/clean an existing index

-b

(re)build index, wiping out current one if it exists

-c

clean existing index removing any documents that no longer exist in the db

-f

if updating existing index, force each handle to be reindexed even if uptodate

-h

print this help message

-o

optimize search core

-r <item handle>

remove an Item, Collection or Community from index based on its handle

...