4 ms·
nice work on this! i've been looking for something like this to manage my own docs. one thing that caught my eye was the mention of 'proper stemming support' -
by namanyayg 2y ago
nice work on this! i've been looking for something like this to manage my own docs.
one thing that caught my eye was the mention of 'proper stemming support' - can you elaborate on how you're handling stemming? are you using a specific library or rolling your own implementation? also, have you considered adding any sort of faceting/search filtering to the results?
- spapas82 2y agoHello thank you for your kind words! Stemming is handled by the corresponding Lucene analyzer which you can configure depending on your language, I'm explaining this a bit here: https://github.com/spapas/doc-parser-searcher/?tab=readme-ov-file#the-analyzer https://github.com/spapas/doc-parser-searcher/?tab=readme-ov... i.e I'm using org.apache.lucene.analysis.el for our documents (they are in greek) and for english you should can org.apache.lucene.analysis.en.EnglishAnalyzer instead. There already are some filters that are indexed for each file and can be applied when searching: - created/modified/accessed date - full path - filename - extension