...
Code Block |
---|
# stop the server % service tomcat7 stop # remove the indexes % /bin/rm -rf ~/code/admin/lucene/indexes//local/content/MEME/MEME5/ncim/data/indexes* # change the value of config.properties to match what is on your server; see README.txt for details % cd ~/code/admin/lucene % mvn install -PReindex -Drun.config.umls=/meme_work_local/ncim/config/config.properties # give it some reasonable permissions % chown -R 777 /local/content/MEME/MEME5/ncim/data/indexes # start the server % service tomcat7 start |
Sample command line call of the admin tool to rebuild all indexes via a REST call to the server (here the run.config.ts is used to specify the base.url parameter, which is where the server is running):
Code Block |
---|
% cd ~/code/admin/lucene % mvn install -PReindex -Drun.config.umls=/home/ec2-tomcat/config/config.properties -Dserver=true |
Sample command line call of the admin tool to reindex only certain data types:
Code Block |
---|
# stop the server % service tomcat7 stop # Re-indexes only map records and tracking records % cd ~/code/admin/lucene % mvn install -PReindex -Drun.config.umls=/home/ec2-tomcat/config/config.properties -Dindexed.objects=ConceptJpa,TrackingRecordJpa # start the server % service tomcat7 start |
...