Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

These instructions are only valid for DSpace 1.6 and above.

Files:

  • Wiki Markup
    {{\[dspace\]/bin/
    index-all
    dspace}}

Instructions:

  1. Log on to the machine running DSpace.
  2. Wiki Markup
    Change directory to {{\[dspace\]/bin
    .
  3. Run the re-indexing script
    • (Linux or Mac OSX)
      Code Block
      ./index-all
    • (Windows) run from command prompt
      Code Block
      ./dsrun org.dspace.browse.InitializeBrowse
      Code Block
      ./dsrun org.dspace.search.DSIndexer
  4. /}}
  5. If you just want to do a quick update of the index (just updates your existing index, without first wiping it clean), do the following:
    • (Linux, Mac OSX, or Windows) dspace index-update
  6. If you want to run a full re-index (which actually removes your existing index and rebuilds it from scratch), do the following:
    • Stop Tomcat (See Quick Restart in Rebuild DSpace).
    • (Linux, Mac OSX, or Windows) dspace index-init
    • Restart
    Stop and restart

Notes:

  • This process re-creates DSpace's search and browse indices. Run it after anything you do to the install that could change the content of these indices (e.g. manually changing metadata, withdrawing items). In addition, run it if you decide to change your searchable metadata fields (see Modify search fields ).
  • You may wish to have a scheduled process (e.g.cron) to re-index DSpace daily. Lots of little changes that add up over time without a re-indexing can cause DSpace's search function to become erratic.