Thanks so much for hints, now it works correctly, the problem was with
mlt.setMinTermFreq.
Many thanks.
--
View this message in context:
http://www.nabble.com/Re%3A-MoreLikeThis-return-no-results-tp19230763p19256118.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
Hi,
I enabled the TermVector for required fields using following piece of code,
Field titleField = new Field("title", title, Field.Store.NO,
Field.Index.TOKENIZED, TermVector.YES);
and then re-indexed it. But again it shows no result.
I checked the stored documents and they TermVector exists an
Hi,
I'm trying to get MoreLikeThis working but it just returns no results. I
have lucene working for normal queries and indexing but MoreLikeThis Just
returns nothing. This is what I'm trying
IndexReader reader = IndexReader.open(INDEX_PATH);
IndexSearcher searcher = new IndexSearcher(INDEX_PAT