How do you find a similar documents of a given document in Lucene. I do not know what the text is i only know what the document is. Is there a way to find similar documents in lucene. I am a newbie so I may need some hand holding.
相关问题
- JCR-SQL - contains function doesn't escape spe
- How to change the first two uppercase characters o
- How to use DbFunction translation in EF Core?
- Using FTS query, Can you find all entries contains
- Match lucene entire field exact value
相关文章
- Solr - _version_ field must exist in schema and be
- Performance difference between sunspot and thinkin
- MongoDB full text search - matching words and exac
- SQL Server CONTAINSTABLE not working for single di
- CakePHP with Lucene
- Apache Lucene doesn't filter stop words despit
- Sphinx Search / MySQL find most common words
- Sort by date in Solr/Lucene performance problems
you may want to check the MoreLikeThis feature of lucene.
MoreLikeThis constructs a lucene query based on terms within a document to find other similar documents in the index.
http://lucene.apache.org/java/3_0_1/api/contrib-queries/org/apache/lucene/search/similar/MoreLikeThis.html
Sample code example (java reference) -