lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwi clive <>
Subject Re: search-time facetting in Lucene
Date Mon, 06 May 2013 19:50:56 GMT
Hi Shai,

Thanks very much for the reply. I see there is not a quick win here but as we are going through
an index consolidation process, it may pay to make the leap to 4.3 and put in facetting while
I'm in there. We will get facetting slowly through the back door while the consolidation runs
(we have 10,000+ shards). If it were not for the consolidation required, I thin bobo would
have been the way forward.

I appreciate you taking the time to explain the situation.


 From: Shai Erera <>
To: "" <>; kiwi clive <>

Sent: Monday, May 6, 2013 5:56 AM
Subject: Re: search-time facetting in Lucene

Hi Clive,

In order to use Lucene facets you need to make indexing time decisions.
It's not that you don't make these decisions anyway, even with Solr -- for
example, you need to decide how to tokenize the fields by which you want to
facet, or in Lucene 4.0 index them as SortedSetDocValuesField.

If you upgrade to Lucene 4.3, you can avoid the use of the taxonomy index,
in exchange for real simple facetting, by using
SortedSetDocValuesFacetFields, but again you will need to reindex your data.


On Mon, May 6, 2013 at 6:22 AM, kiwi clive <> wrote:

> Hello all
> Lucene version 3.6.1.
> Sorry if this is a really stupid question, but is it possible to use
> search-time facetting on an existing lucene index without the need to
> reindex?
> My (limited) understanding is that FacetsCollector will pull facet data
> from indexes that have been created with the use of TaxonomyWriter and
> CategoryDocumentBuilder. It does look like the Bobo contribution does not
> require index changes (and solr looks similar) but I was wondering what
> lucene does out-of-the-box.
> So, what I need to achieve is:
> - (simple) facetted search with raw lucene without the need to reindex.
> - use of solr is not an option but a lucene version upgrade is.
> Am I right in thinking the implementation of facetting is different in
> solr to that in lucene ?
> If you could point me a resource so I can learn more, I'd be very grateful.
> Many thanks,
> Clive
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message