Problem
A book shows up in list-type feeds but not in search results
Solution
If a book shows up in list-type feeds but not in search results, it may not have been added to the ElasticSearch index. This can be repaired using the bin/repair/search_index
script.
Both the
circ-scripts
and circ-webapp
containers include a script which repairs the Circulation Manager's ElasticSearch index. The two containers currently (v2.2.5) have two different entry paths. However, here's a sample process using the circ-webapp
container to run the script:- Log into the circ-webapp container's host instance
- Enter the container:
sudo docker exec -it circ-webapp /bin/bash
- Activate the Python virtual environment:
source env/bin/activate
- Run the script:
bin/repair/search_index
- To finish, deactivate the virtual environment:
deactivate
- Exit the container:
exit