Warning: This page has not been updated in over over a year and may be outdated or deprecated.
indexing:re-indexing
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
re-indexing [2014/06/13 13:14] – external edit 127.0.0.1 | indexing:re-indexing [2023/12/05 11:44] (current) – demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Re-Indexing | + | ====== Re-Indexing ====== |
- | As VuFind | + | As VuFind® |
- | ===== 1. Stop VuFind | + | ===== 1. Stop Solr from running. ===== |
- | On Linux, you can run this command: | + | See the [[administration: |
- | + | ||
- | < | + | |
- | %> ./vufind.sh stop | + | |
- | </ | + | |
- | + | ||
- | Under Windows, you can stop the Jetty service or abort vufind.bat by hitting Ctrl-C, depending on how you have things working. | + | |
===== 2. Delete your index on the server. ===== | ===== 2. Delete your index on the server. ===== | ||
- | VuFind's main index is found in the solr/ | + | VuFind®'s main index is found in the solr/ |
< | < | ||
- | %> rm -rf solr/ | + | rm -rf $VUFIND_HOME/ |
</ | </ | ||
+ | |||
+ | :!: Prior to VuFind® 3.0, the paths were $VUFIND_HOME/ | ||
In Windows, you can easily delete the folders through Windows Explorer. | In Windows, you can easily delete the folders through Windows Explorer. | ||
- | If you want to delete one of VuFind's secondary indexes (authority records, course reserves, etc.), the process is the same, but you just need to replace " | + | If you want to delete one of VuFind®'s secondary indexes (authority records, course reserves, etc.), the process is the same, but you just need to replace " |
- | ===== 3. Start the VuFind | + | ===== 3. Start the VuFind® |
- | On Linux, you can run this command: | + | See the [[administration:starting_and_stopping_solr|Starting and Stopping]] page for details. |
- | < | + | ===== 4. Import all of your records again. ====== |
- | %> ./vufind.sh start | + | |
- | </ | + | |
- | Under Windows, you can start the Jetty service or run vufind.bat (available in 1.0RC2 and later versions). | + | See the instructions on the [[: |
- | ===== 4. Import all of your records again. ====== | + | ===== 5. [ Optional: re-index spellcheck. ] |
+ | |||
+ | If spellcheck indexes are not populated during import or running optimization. | ||
+ | < | ||
+ | php $VUFIND_HOME/ | ||
+ | </ | ||
+ | You can re-index both manualy. The default " | ||
+ | < | ||
+ | curl http:// | ||
+ | </ | ||
+ | and basicSpell " | ||
+ | < | ||
+ | curl http:// | ||
+ | </ | ||
- | See the instructions on the [[importing records]] page for details. | ||
---- struct data ---- | ---- struct data ---- | ||
+ | properties.Page Owner : | ||
---- | ---- | ||
indexing/re-indexing.1402665252.txt.gz · Last modified: 2015/12/14 15:22 (external edit)