Re: Number of occurrences in Solr Documents

2017-06-29 Thread David Hastings
I am using 5.2 and this works: select?q=*%3A*=csv=true=totaltermfreq(text%2WORDIWANTTOFIND)=1 On Thu, Jun 29, 2017 at 11:52 AM, Kaushik wrote: > Thanks to Susheel and Shawn. Unfortunately the Solr version we have is Solr > 5.3 and it does not include the

Re: Number of occurrences in Solr Documents

2017-06-29 Thread Kaushik
Thanks to Susheel and Shawn. Unfortunately the Solr version we have is Solr 5.3 and it does not include the totaltermfrequency feature. Is there any downside of using TermVectorFrequency ; like peformance issues? On Thu, Jun 29, 2017 at 11:49 AM, Susheel Kumar wrote: >

Re: Number of occurrences in Solr Documents

2017-06-29 Thread Susheel Kumar
That's even better. Thanks, Shawn. On Thu, Jun 29, 2017 at 11:45 AM, Shawn Heisey wrote: > On 6/29/2017 8:40 AM, Kaushik wrote: > > We are trying to get the most frequently used words in a collection. > > My understanding is that using facet.field=content_txt. An e.g. of >

Re: Number of occurrences in Solr Documents

2017-06-29 Thread Shawn Heisey
On 6/29/2017 8:40 AM, Kaushik wrote: > We are trying to get the most frequently used words in a collection. > My understanding is that using facet.field=content_txt. An e.g. of > content_txt value is "The fox jumped over another fox". In such a > scenario, I am expecting the facet to return with

Re: Number of occurrences in Solr Documents

2017-06-29 Thread Susheel Kumar
Checkout Term Vector component https://wiki.apache.org/solr/TermVectorComponent On Thu, Jun 29, 2017 at 10:40 AM, Kaushik wrote: > Hello, > > We are trying to get the most frequently used words in a collection. My > understanding is that using facet.field=content_txt. An

Number of occurrences in Solr Documents

2017-06-29 Thread Kaushik
Hello, We are trying to get the most frequently used words in a collection. My understanding is that using facet.field=content_txt. An e.g. of content_txt value is "The fox jumped over another fox". In such a scenario, I am expecting the facet to return with "fox" and with a count value of 2.