Unlike the standard Filter Operators, the IsMatch operator applies to the chunk content rather than metadata elements. The format follows a similar syntax where the key is fixed:
- Key: A mandatory field that must be set to content.
- Operator: This field must be set to $ismatch.
- Value: This field specifies the filter pattern to apply.
Suppose you want to retrieve information about
unknown/
discarded items. To do this, you can define a filter with the following structure:
"filters": [
{
"key": "content", "operator": "$ismatch", "value": ["discarded","unknown"]
]
Find documents that contain a word starting with the letters
lux.
"filters": [
{"key": "content", "operator":"$ismatch", "value":"lux*"}
]
Compose several filters.
"filters": [
{"key": "content", "operator":"$ismatch", "value":"luxury"},
{"key": "content", "operator":"$ismatch", "value":"Sports*"}
]
Available for:
Since version 2025-07.