lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Has anyone tried to implement a counter?
Date Fri, 12 Dec 2003 13:44:57 GMT
Shannon,  I'm not following what the issue is here.  Any chance you 
could show us some (succinct) code that illustrates things clearer?

	Erik


On Friday, December 12, 2003, at 08:30  AM, Shannon March wrote:

> Hi
>
> Has anyone tried to implement a counter using Lucene.
>
> We currently have a search implemented, searching multiple indexes and
> returning the results in a Vector of hits objects.  In order to get our
> total number of hits for a count of the total results we are cycling
> through our vector, and for each of the hits objects we are using the
> length() method to get a total.
>
> However the total number we receive is not accurate.  For example in a
> search which returns 52 results, we are getting approx 55 or 56 
> results.
> For searches with higher results, the size of the error increases, but
> it would not be double for the a search with approx 100 results.
>
> Does anyone have any ideas?  We're using Lucene 1.3.
>
>
> Thanks for your help;
>
>
> Shannon


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


Mime
View raw message