BUMP. After waiting a bit for a comment on this, I'm assuming there's no support for this type of feature. So, we are pushing on with a completely different implementation. Unfortunately, we haven't the time for the expertise to consider implementing it ourselves.
gene On Fri, Apr 24, 2009 at 6:55 PM, ristretto.rb <ristretto...@gmail.com> wrote: > Hello, > > Is it possible to order the facet results on some ranking score? > I've had a look at the facet.sort param, > (http://wiki.apache.org/solr/SimpleFacetParameters#head-569f93fb24ec41b061e37c702203c99d8853d5f1) > but that seems to order the facet either by count or by index value > (in my case alphabetical.) > > We are facing a big number of facet results for multiple termed > queries that are OR'ed together. We want to keep the OR nature of our > queries, > but, we want to know which facet values are likely to give you higher > ranked results. We could AND together the terms, to get the facet > list to be > more manageable, but we would be filtering out too many results. We > prefer to OR terms and let the ranking bring the good stuff to the > top. > > For example, suppose we have a index of all known animals and > each doc has a field AO for animal-origin. > > Suppose we search for: wolf grey forest Europe > And generate facets AO. We might get the following > facet results: > > For the AO field, lots of countries of the world probably have grey or > forest or wolf or Europe in their indexing data, so I'm asserting we'd > get a big list here. > But, only some of the countries will have all 4 terms, and those are > the facets that will be the most interesting to drill down on. Is > there > a way to figure out which facet is the most highly ranked like this? > > This is a contrived example, not part of any real project I know > about. Just trying to get my point across. > > thanks > Gene > > Gene Campbell > Picante Solutions Limited >