lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Rodenburg" <jeff.rodenb...@gmail.com>
Subject Re: Ranking and Scoring Hits
Date Thu, 18 May 2006 16:08:20 GMT
Hi Ed -

For future reference, these questions are intended to be directed to the
lucene-net-user mailing list.

When iterating on your Hits collection, call Hits.Score() the same way you
call Hits.Doc() -- by passing it the index value (int) for your loop
iteration.

On 5/18/06, Ed Jones <Edmund.Jones@warc.com> wrote:
>
> Hi,
>
>
>
> I've only just downloaded Lucene.net and I've been doing some initial
> work on it.
>
> I've written an indexer and got a test button working to run queries to
> find the results. So far I like it and it's wonderfully fast, however,
> I'm trying to return the score for each returned result, mainly so I can
> tell how relevant result 1 is over result 2. I've looked though the
> documentation and can't find how to do this. Can anyone give me a
> pointer? Also can somebody confirm that the default search results are
> in relevance order?
>
>
>
> Thanks
>
> Ed
>
>
>

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