OK, more testing seems to say that if i do mincount=1, I only get
facet field values that are actually in the documents

'facet_fields':{
        'title':[
         'build',1,
         'central',1,
:
:

for

http://localhost:8085/solr/select?q=example.com&wt=python&indent=on&facet=true&facet.field=title&facet.limit=-1&facet.sort=true&facet.mincount=1

assuming title is a facetable field.

please correct if I'm on the wrong track.

cheers
gene




On Mon, Aug 18, 2008 at 5:10 PM, Gene Campbell <[EMAIL PROTECTED]> wrote:
> I'm still learning how to use facets with Solr correctly.  It seems
> that you get facet counts computed over all docs in your index.
> For example, I tried this on a local index I've built up for testing.
> This index has urls uniquely indexed, so no two docs
> have the same url value.
>
> http://localhost:8085/solr/select?q=www.example.com&facet=true&facet.field=title&facet.limit=-1&facet.mincount=1
>
> This returns what seems like facet values for the title field over my
> whole index.  What I would like is the the facet value counts
> computed just over the docs returned.  Is this possible?
>
> thanks
> gene
>

Reply via email to