NOTE: every {@link CachedOrds} is limited to 2.1Btotal ordinals. If that is a limitation for you then consider limiting the segment size to fewer documents, or use an alternative cache which pages through the category ordinals.
NOTE: when using this cache, it is advised to use a {@link DocValuesFormat} that does not cache the data inmemory, at least for the category lists fields, or otherwise you'll be doing double-caching.
NOTE: create one instance of this and re-use it for all facet implementations (the cache is per-instance, not static).
|
|
|
|