File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
docs/search/extensibility Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,20 @@ You provide it with two arguments:
6464- The aggregation class in `aggregationClass`
6565- The field name in search index in `searchIndexFieldName`
6666
67+ In this example, the field is `priority_i` which exists only for locations.
68+
6769=== " Solr"
6870
6971 Tag the service with `ibexa.search.solr.query.location.aggregation.visitor`.
7072
73+ For content-based aggregations, use the ibexa.search.solr.query.content.aggregation.visitor tag.
74+
7175=== " Elasticsearch"
7276
73- Tag the service with `ibexa.elasticsearch.query.location.aggregation_visitor`.
77+ Tag the service with `ibexa.search.elasticsearch.query.location.aggregation_visitor`.
78+
79+ For content-based aggregations, use the ibexa.search.elasticsearch.query.content.aggregation.visitor tag.
80+
7481
7582For the result extractor, you can use the built-in `RangeAggregationResultExtractor` and provide it with the aggregation class in the `aggregationClass` parameter.
7683
You can’t perform that action at this time.
0 commit comments