Skip to content

A desktop application that searches through a set of Wikipedia articles using Apache Lucene.

License

Notifications You must be signed in to change notification settings

ArisPan/wiki-query

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wiki Query

A desktop application that searches through a set of Wikipedia articles using Apache Lucene.

Given a static corpus (a directory of text files), we are able to create an inverted index and perform searches. Ten retrieved results are displayed per page and are sorted by their relevance to the search query. Search terms are highlighted in the results, plus, you are able to open and preview the file. Supports different kinds of queries like Term, Phrase, Wildcard, Prefix, Boolean and Span.
The project is written in Java SE 14 and uses Apache Lucene 8.5.1. Application's GUI is implemented using Swing.

Motive

With a heavy emphasis on GoF design patterns and implementing the MVC model, Wiki Query presents an exploration of software development architecture principles and their best practises. It also constitutes an introduction to Information Retrieval on a static corpus, indexing and query building.

How to run

Currently, there is no Maven/Gradle automation for building the project. You can import the project in your IDE of choice and build it from there.

  1. Import with IntelliJ
  2. Import with Eclipse

Screenshots

HomeScreen ResultsScreen1 ResultsScreen2

Releases

No releases published

Packages

No packages published

Languages