mirror of
https://github.com/iSharkFly-Docs/opensearch-docs-cn
synced 2025-02-27 11:15:17 +00:00
to make TQL consistent and add link to term-level queries section
Signed-off-by: alicejw <alicejw@amazon.com>
This commit is contained in:
parent
306885ca9c
commit
b263e000a1
@ -124,9 +124,11 @@ PUT _plugins/_security/api/roles/abac
|
|||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
## Term Lookup Query (TLQ) modes
|
## Term-level lookup query (TLQ) modes
|
||||||
|
|
||||||
You can perform term lookup queries (TLQs) with Document-level security using either of two DLS modes: Lucene-level or Filter-level. By default, the security plugin detects if a DLS query contains a TLQ or not, and chooses the appropriate mode automatically at runtime.
|
You can perform term-level lookup queries (TLQs) with Document-level security using either of two DLS modes: Lucene-level or Filter-level. By default, the security plugin detects if a DLS query contains a TLQ or not, and chooses the appropriate mode automatically at runtime.
|
||||||
|
|
||||||
|
To learn more about OpenSearch queries, see [Term-level queries](https://opensearch.org/docs/latest/opensearch/query-dsl/term/).
|
||||||
|
|
||||||
### Lucene-level DLS mode
|
### Lucene-level DLS mode
|
||||||
|
|
||||||
@ -134,7 +136,7 @@ Lucene-level mode modifies Lucene queries and data structures directly to implem
|
|||||||
|
|
||||||
### Filter-level DLS mode
|
### Filter-level DLS mode
|
||||||
|
|
||||||
OpenSearch automatically applies DLS when it receives modifying queries. This allows for term lookup queries in DLS queries, but you can only use the`get`, `search`, `mget`, and `msearch` operations to retrieve data from the protected index. Additionally, cross-cluster searches are limited with this mode.
|
OpenSearch automatically applies DLS when it receives modifying queries. This allows for term-level lookup queries in DLS queries, but you can only use the`get`, `search`, `mget`, and `msearch` operations to retrieve data from the protected index. Additionally, cross-cluster searches are limited with this mode.
|
||||||
|
|
||||||
#### How to set the DLS evaluation mode in opensearch.yml
|
#### How to set the DLS evaluation mode in opensearch.yml
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user