lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kumaran Ramasubramanian <>
Subject In lucene faceting, advantages of taxonomy index over ​SortedSetDocValuesFacetField
Date Sat, 06 Aug 2016 06:01:08 GMT
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

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