: the SimpleFacets provides right now. Particularly, I'd like to implement
: something more like kayak.com or farechase.com, where facets are grouped
: together into buckets (e.g. airline, destination airport), but selection of
: an item in the group doesn't remove information about the other items in the
: group. For instance, when I select "America West", I should still see the
: number of results I would add to my search if I selected "United". However,
: if I select an item from a different group like destination airport, it
: should change the counts on the airports group.
this seems like a fairly trivial UI issue that wouldn't require any custom
solr code. you do the first search, and get back all the facet counts to
display next to each checkbox. as boxes are checked, you do subsequent
requests to update the main result area of hte page, but you don't change
the counts next to the checkboxes (unless they are in a different group)
...
: I'm thinking to do this by using getDocListAndSet to grab the DocSet for
: each distinct group, and then running the SimpleFacets code against that
: DocSet. I think if I keep score retrieval and sorting out of the flags, the
: cache should kick in for every DocSet after the first one, including
: calculation of the main query.
i wasn't relaly following the first part of your description of what you
are doing, but i don't see any reason to use getDocListAndSet if all you
need is a DocSet for SimpleFacets ... you can just use getDocSet and the
filterCache should take care of everything as well.
-Hoss