This project implements lucene search engine for cranfield collection using different approaches of scoring models & analyzers. The performance of the search engine is evaluated by using the tool Trec Eval.
cd project1/cranfield-search-engine/
mvn clean && mvn package
java -jar target/CranfieldSearch-1.0-SNAPSHOT.jar
cd ../trec_eval-9.0.7/
./trec_eval -m map ../CranfieldCollection/cranqrel ../CranfieldCollection/Result-File-EnglishAnalyzer
./trec_eval -m map ../CranfieldCollection/cranqrel ../CranfieldCollection/Result-File-SimpleAnalyzer
./trec_eval -m map ../CranfieldCollection/cranqrel ../CranfieldCollection/Result-File-StandardAnalyzer
./trec_eval -m map ../CranfieldCollection/cranqrel ../CranfieldCollection/Result-File-WhitespaceAnalyzer