lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Frequency of words in index
Date Wed, 11 May 2011 13:16:05 GMT
> I did a facet query on my data field
> and it showed a list of words with their count but it miss
> lot of words in facet count.
> 
> The query used was :-
> 
> http://localhost:8983/solr/select/?q=*:*&facet=true&facet.field=Data
> 
> How can I get the count of each word in my index and one
> more question is it possible to only get the count of words
> which are not used in normal daily sentences like I, is,
> the, a, etc.

Use &facet.limit=-1
http://wiki.apache.org/solr/SimpleFacetParameters#facet.limit
According to your needs, you may consider TermsComponent instead.

To remove given set of words you can use StopFilterFactory.

Mime
View raw message