- Type:
boolean
- Default:
false
- Scope:
search
distinct
setting.
This can lead to higher facet counts than expected.
When facetingAfterDistinct
is true
,
facet counts are computed after applying distinct
,
giving counts based only on distinct records.
Usage
- Applies to all facet attributes.
- To apply this behavior selectively, use the
afterDistinct
modifier inattributesForFaceting
. - If both
facetingAfterDistinct
andafterDistinct
are used,facetingAfterDistinct
overrides the attribute-level setting. - Only use this setting if all records sharing the same distinct key have identical facet values—otherwise facet counts may appear inconsistent.
Example
Current API clients
Current API clients
Legacy API clients
Legacy API clients