ostFreqCount.inc(host_id);
> > >
> > >if(hostFreqCount.get(host_id) > 3) continue;
> > >
> > > /// show the hit to the use...
> > >
> > > }
> > > }
> > >
> > >
> > > Hope it helped !
> > >
st_id);
> >
> >if(hostFreqCount.get(host_id) > 3) continue;
> >
> > /// show the hit to the use...
> >
> > }
> > }
> >
> >
> > Hope it helped !
> >
> > Jp
> >
> >
> > -Original Message-
> > From:
Count.inc(host_id);
>
>if(hostFreqCount.get(host_id) > 3) continue;
>
> /// show the hit to the use...
>
> }
> }
>
>
> Hope it helped !
>
> Jp
>
>
> -Original Message-----
> From: Jay Hill [mailto:[EMAIL PROTECTED]
> Sent: Wed
ope it helped !
Jp
-Original Message-
From: Jay Hill [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 15, 2005 2:01 PM
To: java-user@lucene.apache.org
Subject: Re: Need a way to set a result limit on a particular field
Thanks Tony and Erik for the replies. The trick is we don't know the
Thanks Tony and Erik for the replies. The trick is we don't know the
hosts that will be returned in advance, we just don't want more than 3
from any one host. It's not unlike searching on Google where you might
see a link that says "More results from foo.com". We essentially want
to discard any res
On Jun 14, 2005, at 7:23 PM, Jay Hill wrote:
I have a need to limit my Hits returned based on one of the indexed
fields. This is a web application and we want to limit the number of
hits from any one host. We have a field named "host_id" and I'd like
to be able to limit my results to no more tha
Tony Schwartz
[EMAIL PROTECTED]
-Original Message-
From: Jay Hill [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 14, 2005 7:23 PM
To: java-user@lucene.apache.org
Subject: Need a way to set a result limit on a particular field
I have a need to limit my Hits returned based on one of the
I have a need to limit my Hits returned based on one of the indexed
fields. This is a web application and we want to limit the number of
hits from any one host. We have a field named "host_id" and I'd like
to be able to limit my results to no more than three results for any
one host_id.
Any help i