You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Robert Young <ro...@roryoung.co.uk> on 2009/05/21 12:34:34 UTC
Term frequencies within a search
Hi,
I would like to perform a query and then get a summary of the term
frequencies of the result. Is this possible?
Thanks
Rob
Re: Term frequencies within a search
Posted by Robert Young <ro...@roryoung.co.uk>.
For all the docs, and in fact, I think it might be the document frequency.
Basically I need to be able to do a query and get a list of terms with how
many documents in the result set contain that term. I'm not so worried about
how often the term appears in each document.
Thanks
Rob
On Thu, May 21, 2009 at 5:28 PM, Michael McCandless <
lucene@mikemccandless.com> wrote:
> This is often requested, but Lucene doesn't make it easy. I'd love
> for someone to come up and build this feature :)
>
> Do you need term freqs for just the top N that were collected? Or for
> all docs that matched the query?
>
> Mike
>
> On Thu, May 21, 2009 at 6:34 AM, Robert Young <ro...@roryoung.co.uk> wrote:
> > Hi,
> > I would like to perform a query and then get a summary of the term
> > frequencies of the result. Is this possible?
> >
> > Thanks
> > Rob
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
Re: Term frequencies within a search
Posted by Michael McCandless <lu...@mikemccandless.com>.
This is often requested, but Lucene doesn't make it easy. I'd love
for someone to come up and build this feature :)
Do you need term freqs for just the top N that were collected? Or for
all docs that matched the query?
Mike
On Thu, May 21, 2009 at 6:34 AM, Robert Young <ro...@roryoung.co.uk> wrote:
> Hi,
> I would like to perform a query and then get a summary of the term
> frequencies of the result. Is this possible?
>
> Thanks
> Rob
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org