Re: regarding comparing texts using Lucene

2018-09-19 Thread Adrien Grand
Hi Veda, Lucene doesn't provide such functionality out of the box, but you could use MoreLikeThis ( https://lucene.apache.org/core/7_4_0/queries/org/apache/lucene/queries/mlt/MoreLikeThis.html) to search for similar documents and then compute a finer-grained similarity score on client-side. This w

regarding comparing texts using Lucene

2018-09-19 Thread Veda G M
Hello, Is it possible to compare large chunks of text and get the similarity score/percentage using Lucene? Say for e.g., we have 2-3 paragraphs of text and need to search if there is any document that matches this semantically and the similarity that the returned hit and the search string share