lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davood <>
Subject MoreLikeThis return no results
Date Sat, 30 Aug 2008 06:05:35 GMT


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 =;
IndexSearcher searcher = new IndexSearcher(INDEX_PATH);
MoreLikeThis likeThis = new MoreLikeThis(reader);
likeThis.setFieldNames(new String[] { "tag" ,"tit"});
Query likesQuery =; // document number I already
retrieved by 
Hits likesHits =;		
It find nothing similar

Btw I've noticed similarity contributed package inside of lucene contains
nothing (a jar file with a license text file and another text file), I've
tried donloading it from subversion but there was no java class there, So I
had to get it from another web site. Why it's removed from subversion?

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message