On Tue, Jun 21, 2011 at 2:17 PM, Stefan Trcek <[email protected]> wrote: > Hallo > > I can donate our facette module to the lucene project.
Sounds interesting Stefan! > The implementation relies on field cache only, no index scheme, no > cached filters etc. It is small (about 600 lines of code in 10 > classes). I didn't measure performance, but it handles 1Mio documents > (30GB) without problems. I suppose it might fit the requirements > described in LUCENE-3079. > > The module supports > - single valued facets > - multi valued facets > - facet filters > - evaluation of facet values that would dismiss due to other facet > filters. > > Let me explain the last point: For the user a facet query > (color==green) AND (shape==circle OR shape==square) > may look like > > Facet color > [ ] (3) red > [x] (5) green > [ ] (7) blue > > Facet shape > [x] (9) circle > [ ] (4) line > [x] (2) square > > The red/blue/line facet values will display even though the > corresponding documents are not in the result set. Solr calls this "multi-select faceting" > Also there is > support for filtered facet values with zero results, so users > understand why they do not get results. > > So how to start? Preparing a patch against trunk (currently it is 3.1)? Yes, against trunk, which is 4.0-dev -Yonik http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
