lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Battley" <pbatt...@gmail.com>
Subject Automatically enumerating facets: is it possible?
Date Tue, 24 Apr 2007 14:34:25 GMT
I'm using Solr's facet-searching features to drill down into a
selection of documents, and I want to find the available sub-facets at
each stage, as explained on the wiki.

For example, if I have facets fields x and y, I can pass the following
parameters to enumerate the possible values for those fields:

facet=true&facet.field=x&facet.field=y

I then get something like (XML noise removed):
  x
    foo: 17
    bar: 6
  y
    baz: 3
    quux: 2

However, what I really want is for Solr to work this out
automatically, obviating the requirement to pass in x and y in the
query. I can't find any mention of the capability to do this, and yet
it seems like something that Solr might be able to do.

Can it be done?

Paul.

Mime
View raw message