sortedset vs taxonomy

2014-09-22 Thread Yonghui Zhao
If we want to implement simple facet counting feature, it seems we can do it via sortedset or taxonomy writer/reader. Seems sortedset is simpler but doesn't support hierarchical facet count such as A/B/C. I want to know what's advantage/disadvantage of sortedset or taxonomy? Is there any troubl

Re: sortedset vs taxonomy

2014-09-27 Thread Shai Erera
Hi The taxonomy faceting approach maintains a sidecar index where it keeps the taxonomy and assigns an integer (ordinal) to each category. Those integers are encoded in a BinaryDocValues field for each document. It supports hierarchical faceting as well as assigning additional metadata to each fac