lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: High frequency term for the searched query
Date Sat, 06 Nov 2010 10:13:44 GMT
Looks like maybe if you use MoreLikeThis directly, you can call it's
retrieveInterestingTerms(Reader) method?

Or, MoreLikeThisQuery.rewrite will return a BooleanQuery whose clauses
are the interesting terms?

Mike

On Fri, Nov 5, 2010 at 11:00 AM, starz10de <farag_ahmed@yahoo.com> wrote:
>
> HI Mike,
>
> I implemented MoreLikeThis but I couldn't figure out where or how to print
> the related term to the given query. All what I got is the relevant
> documents to the query with their scores.
>
> Any idea how to get the related terms?
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/High-frequency-term-for-the-searched-query-tp1839942p1848702.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message