Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Solr, mail # user - Frequency of words in index


Copy link to this message
-
Re: Frequency of words in index
Ahmet Arslan 2011-05-11, 13:16
> 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.