Skip to content

prashant-mahanta/LuceneNewsSearch

 
 

Repository files navigation

LuceneNewsSearch - A Search Engine that uses BM25F to search and rank News Articles

About

This project was a part of Information Retrieval Course See IR_Presentation.pdf and IR_Report.pdf for more info

Ranking Algorithm

BM25F, a variant of BM25, was used for ranking search results which is one of the state-of-the-art method used for ranking structured documents

Requirements:

  1. Lucene 6.2.0
  2. Eclipse or netbeans (Note: Create a folder "lucene" in C: drive of windows and put your entire lucene-6.2.0 folder inside this to avoid any build path complications)

How To Run:

  1. Extract the LuceneNewsSearch-Final.zip file in eclipse workspace
  2. In eclipse, File->Import->General->Existing Projects... and import the extracted folder
  3. Import the Lucene jar files by going to File->Build Path->Configure Build Path-> Add External Jars
  4. Select the file NewJFrame1.java and run it in eclipse
  5. A window opens, click on write index.(This rewrites the index)
  6. After writing index, Enter a query for example: "2016-12-31 01-02-2017 Trump Israel" (Note: The query can be made without dates also, but format supported for date are: dd-mm-yyyy,dd/mm/yyyy,yyyy-mm-dd,dd-mm-yyyy)
  7. Click on "search" button to see the results in the textarea of GUI.

Some GUI snapshots

gui1 gui2 gui3 gui4

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%