Skip to content

Search engine implementation for Cranfield collection using Lucene

Notifications You must be signed in to change notification settings

PathakPratik/cranfield-search-engine

Repository files navigation

Cranfield Search Engine

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.

Go to Project Directory

cd project1/cranfield-search-engine/

Clean & Build project

mvn clean && mvn package

Run project

java -jar target/CranfieldSearch-1.0-SNAPSHOT.jar

Go to Trec Eval Dir

cd ../trec_eval-9.0.7/

Run Trec Eval for different analyzers

./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

About

Search engine implementation for Cranfield collection using Lucene

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages