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

<lst name="facet_counts">
 <lst name="facet_queries"/>
  <lst name="facet_fields">
    <lst name="title">
      <int name="car">10</int>
      <int name="boat">6</int>
      <int name="bike">2</int>
    </lst>
  </lst>

Is this interpreted as meaning, there are 10 documents that will match
with 'car' in the title, and likewise 6 'boat' and 2 'bike'?

If so, is there any way to get counts for the *number times* a value
is found in a document.  I'm looking for a way to determine the number
of times 'car' is repeated in the title, for example.

Given this ...

  <title>This car is the best car, not a bike or boat, it's a car -
come drive a car.</title>

I'd like to get back somthing that tells me car->4, bike->1, boat->1

Possible?

I would like the counts to only be specific to the results returned, also.

I'll keep searching the docs, lists, and trying tests.  But, if anyone
can help save me a bit of time, I'd be very appreciative.

thanks
gene

Reply via email to