lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From heritrix.lucene <heritrix.luc...@gmail.com>
Subject Re: Getting count on distinct values of a field.
Date Wed, 14 Jun 2006 03:32:59 GMT
I am sorry for my stupid question. Thanks..... :-)

Regards,

On 6/13/06, Chris Hostetter <hossman_lucene@fucit.org> wrote:
>
>
> : But what if that word is present in other fields also.
> : does "docFreq " only look into that particular field ??
>
> docFreq tells you the frequency of a term, a term is a field and a value
> -- if you want the counts of a value across multiple fields, you'll have
> to add them up yourself.  (or make a field that contains the union of all
> the other fields)
>
> : > : From: vipin sharma <heritrix.lucene@gmail.com>
> : > : Reply-To: java-user@lucene.apache.org
> : > : To: java-user@lucene.apache.org
> : > : Subject: Getting count on distinct values of a field.
> : > :
> : > : Hi,
> : > : i am having problem in getting the count on distict values of a
> field.
> : > The
> : > : reason for getting this value is that, each of all documents in
> index
> : > : belongs to one predefined class and i want to get the number of
> : > documents
> : > : belonging to each class.
> : > :
> : > : Regards..
>
>
> -Hoss
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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