BlueWaveTechnologies / BlueWave

Web application used to create charts and dashboards using a graph database
MIT License
5 stars 3 forks source link

DocumentService - Add new search method #217

Closed pborissow closed 2 years ago

pborissow commented 2 years ago

Implement a new method to search a lucene-based index for documents that contain a search term in the body of the document or in the file name itself. Search results should be sorted by relevance and return file info (e.g. file name, size, date, etc), a search metadata (e.g. relevance score, number of occurrences, etc)

pborissow commented 2 years ago

Although this was largely implemented in #216 there's room for improvement. For example:

Reference: https://stackoverflow.com/questions/1920726/get-search-word-hits-number-of-occurences-per-document-in-lucene