You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Kumaran Ramasubramanian <ku...@gmail.com> on 2016/08/06 06:01:08 UTC
In lucene faceting, advantages of taxonomy index over SortedSetDocValuesFacetField
Hi All,
As per documentation of SortedSetDocValuesFacetCounts,
Compute facets counts from previously indexed
>
> SortedSetDocValuesFacetField, without require a separate taxonomy index.
> Faceting is a bit slower (~25%), and there is added cost on every
> IndexReader open to create a new SortedSetDocValuesReaderState.
> Furthermore, this
>
> does not support hierarchical facets; only flat (dimension + label)
> facets, but it uses quite a bit less RAM to do so.
>
what is meant by "
does not support hierarchical facets; only flat" here? what functionality
we will miss because of this?
other than faster faceting...Is there any benefit of using taxonomy index
over docvalues field for faceting?
--
Kumaran R