Create Ranges Automatically
When facet ranges are created automatically, they generate ranges across the results of the query. However, this feature can be costly in terms of memory consumption.
The following range-generation policies are available:
-
Linear
-
Geometric
Linear Range Policy
A linear range policy defines ranges so each range includes a similar number of documents. The Max number of ranges option defines the number of ranges to generate and the parameter policy defines which policy must be applied.
For example, for these search results:
-
10 documents that each contain 1
-
9 documents that each contain 2,3,4,..,10
With the following configuration:
-
Range generation policy: linear
-
Max. number of ranges: 2
Displays the dynamic range facets as follows:
Top/ dynamic2/ 19 [1;1] 10 [2;10] 9
Geometric Range Policy
A geometric range policy accepts the same parameters as linear, except that each range contains twice as many documents as the range that follows.