lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajendra Rao <rajendra....@launchship.com>
Subject More Like This query is not working.
Date Fri, 18 Jul 2014 10:50:53 GMT
Hello


I am using more like this query .But size of Score Docs i am getting is 0
I found that it
In Query Searchedquery = mlt.like(reader1, "criteria");

query object contain following value
boost 1.0
all clauses element data is null


I used following code
MoreLikeThis mlt = new MoreLikeThis(reader);
 // ------------------------
mlt.setAnalyzer(analyzer);

 Reader reader1 = new StringReader(Requirement);
Query Searchedquery = mlt.like(reader1, "criteria");


please guide me.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message