Re: Count total frequency of a word in a SOLR index

2015-01-23 Thread Nitin Solanki
Ok.. Is there any to use user-defined field instead of word and freq in suggestion block ? On Fri, Jan 23, 2015 at 2:33 PM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > I don't think it's implemented. > I can propose to send the first request to termsComponent, that yields > terms by p

Re: Count total frequency of a word in a SOLR index

2015-01-23 Thread Mikhail Khludnev
I don't think it's implemented. I can propose to send the first request to termsComponent, that yields terms by prefix, then the second request can gather totaltermfreqs. On Fri, Jan 23, 2015 at 11:51 AM, Nitin Solanki wrote: > Thanks Mikhail Khludnev.. > I tried this: > * > http://localhost:898

Re: Count total frequency of a word in a SOLR index

2015-01-23 Thread Nitin Solanki
Thanks Mikhail Khludnev.. I tried this: *http://localhost:8983/solr/collection1/spell?q=gram:%22the%22&rows=1&fl=totaltermfreq(gram,the) * and it worked. I want to know more. Can we do same thing *(tota

Re: Count total frequency of a word in a SOLR index

2015-01-23 Thread Mikhail Khludnev
https://cwiki.apache.org/confluence/display/solr/Function+Queries totaltermfreq() of you need to sum term freq on docs from resultset? On Fri, Jan 23, 2015 at 10:56 AM, Nitin Solanki wrote: > I indexed some text_file files in Solr as it is. Applied " > *StandardTokenizerFactory*" and "*Shingle