Hi

You cannot remove facets from the taxonomy index, but you can reindex a
single document and update its facets. This will add new facets to the
taxonomy index (if they do not already exist). You do that just like you
reindex any document, by calling IndexWriter.updateDocument(). Just make
sure to rebuild the document with FacetsConfig.

Shai

On Tue, Oct 7, 2014 at 12:42 AM, wesli <we...@hotmail.com> wrote:

> I'm using lucene for a full text search on a online store.
> I've build a indexer program which creates a lucene and a taxonomy index.
> The taxonomy index contains facets with categories and article features
> (like color, brand, etc.).
> Is it possible to re-add or update single document facets? F.g. the shop
> owner changes the category of an article or some feature (like color f.g.).
> As I read in the documentation, the taxonomy index can be rebuild but it is
> not possible to re-add (delete and add) facets.
> I don't want to rebuild the whole taxonomy index each time when some single
> article (document) facet is changed.
> Is there another solution to update the taxonomy index?
> I'm using lucene 4.10
>
> Regards
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Delete-Update-facets-from-taxonomy-index-tp4163014.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

Reply via email to