Re: Clarification on facets

2008-08-22 Thread Chris Hostetter
: Of course, if anyone has any ideas on how to get the numbers of times : term is repeated in a document, : I'm all ears. you're not the first person to ask ... SOLR-651 is to try and adress this issue at a fairly general level -- you'd only need a small piece of the data it would return (if it

Re: Clarification on facets

2008-08-19 Thread Mike Klaas
A simple way is to query using debugQuery=true and parse the output: 0.74248177 = queryWeight(rawText:python), product of: 2.581456 = idf(docFreq=16017) 0.28762132 = queryNorm 0.4191762 = (MATCH) fieldWeight(rawText:python in 950285), product of: 5.196152 = tf(termFreq(rawText

Re: Clarification on facets

2008-08-18 Thread Gene Campbell
Thank you for the response. Always nice to have something willing to validate your thinking! Of course, if anyone has any ideas on how to get the numbers of times term is repeated in a document, I'm all ears. cheers gene On Tue, Aug 19, 2008 at 1:42 PM, Norberto Meijome <[EMAIL PROTECTED]> wro

Re: Clarification on facets

2008-08-18 Thread Norberto Meijome
On Tue, 19 Aug 2008 10:18:12 +1200 "Gene Campbell" <[EMAIL PROTECTED]> wrote: > Is this interpreted as meaning, there are 10 documents that will match > with 'car' in the title, and likewise 6 'boat' and 2 'bike'? Correct. > If so, is there any way to get counts for the *number times* a value >

Clarification on facets

2008-08-18 Thread Gene Campbell
I have to check I understand this right If I have the following response from a search like this http://&facet.field=title&facet.limit=-1&facet.mincount=1 10 6 2 Is this interpreted as meaning, there are 10 documents that will match with 'car' in the