Add text_any filter condition docs for 1.16

This commit is contained in:
Abdon Pijpelink
2025-11-11 14:56:57 +01:00
parent 7895d70b92
commit cb84219900
4 changed files with 23 additions and 0 deletions
@@ -0,0 +1 @@
This code snippet sets up a field condition to search for one or more query terms within a text field. In this case, a special `text_any` match is defined with the target text being "good cheap". The behavior may vary depending on the configuration of the full-text index for the field. If there is no full-text index configured for the field, the condition will work as an exact substring match.
@@ -0,0 +1,8 @@
```json
{
"key": "description",
"match": {
"text_any": "good cheap"
}
}
```
@@ -0,0 +1,6 @@
```typescript
{
key: 'description',
match: {text_any: 'good cheap'}
}
```