lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jigar Shah <jigaronl...@gmail.com>
Subject FacetsConfig usage
Date Sun, 05 Oct 2014 15:49:41 GMT
Hello,

"*NOTE*: this configuration is not saved into the index, but it's vital,
and up to the application to ensure, that at search time the provided
FacetsConfig matches what was used during indexing."

Above statement is bit confusing. "search is always point-in-time, indexing
is over-the-time".
Does above statement mean, FacetsConfig created from the start of indexing,
the same object (settings) should be used always in future searches, and
changes  (add/remove of dim, changes in dim ) in FacetsConfig mid of
indexing is not advisable ?


*Consider a scenario:*

I have 3 taxonomy facets (country (flat, mult-valued), city (flat,
mult-valued), company (flat, mult-valued)) configured in FacetsConfig
object and indexer is indexing it in taxonomy directory, and Taxonomy
based  faceted search is working on 3 facets.

Now with one new requirement one more dim has to be added say 'person'. and
make 'company' hierarchical, previously this was (flat, multi-valued).

If on the fly FacetsConfig is updated (same used by indexer and searcher),
will everything work correctly, is it safe to do such changes in
FacetsConfig over the time when you already have some days of index on old
FacetsConfig ?

Thanks,
Jigar Shah

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message