Yes indeed, that is what I was missing. Thanks Ahmet!

On Tue, Jul 5, 2011 at 12:48 PM, Ahmet Arslan <iori...@yahoo.com> wrote:

>
> > Is there a good way to get the hit count of a search?
> >
> > Example query:
> > textField:solr AND documentId:1000
> >
> > Say document with Id = 1000 has "solr" 13 times in the
> > document. Any way to
> > extract that number [13] in the response?
>
> Looks like you are looking for term frequency info:
>
> Two separate solutions:
> http://wiki.apache.org/solr/TermVectorComponent
> http://wiki.apache.org/solr/FunctionQuery#tf
>
>
>

Reply via email to