lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Urso <>
Subject Re: applying cosine similarity directly
Date Sat, 12 Sep 2009 23:26:21 GMT
There is a MoreLikeThis similarity search class in Lucene, it should
do what you're looking for.


On Fri, Sep 11, 2009 at 11:25 PM, Alexy Khrabrov <> wrote:
> Given that I have a field for which term vector was computed and stored, and
> that field is the text of a document, I'd like to rank a subset of such
> documents by similarity to a given held-out document, or query, directly
> using the cosine measure.  How can that be done without going through
> creating a usual query?
> Cheers,
> Alexy

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

View raw message