Only Items between 150 and 300 width

{
	"kind": "NumericRangeFilter",
	"field": "fileMetadata.width",
	"range": { 
		"names": { 
			"fieldId.en":"low res",
			"fieldId.de":"low res"
		},
	"from": "150",
	"to": "300"
	}
}
JSON

Basic Filter

Filter content that has a numeric field value in the configured range.

{
	"kind": "NumericRangeFilter",
	"field": "layerId.fieldId",
	"range": { 
		"names": { 
			"fieldId.en":"low res",
			"fieldId.de":"low res"
		},
	"from": "0",
	"to": "150"
	}
}
JSON

Properties

kind

Discriminator, string, required

field

The field's name to execute the filter. It is composed of the field ids of the hierarchy joined with "." (i.e. personLayer.address.street), check the DateTime field.

range

The range for the value of the numeric field.

If no range provided, the filter in facets shows an error "query execution failure.". At least one range is required.

names

The translations of the ranges. The values are nullable (can be empty), if provided contain language-specific range names

from

A whole or decimal number.

to

A whole or decimal number.