Skip to content

Commit

Permalink
Fix org.opensearch.security.dlic.dlsfls.FlsExistsFieldsTest test cases
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta committed Feb 11, 2025
1 parent 57ba379 commit 49b2509
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,17 @@ protected void populateData(Client tc) {
tc.admin()
.indices()
.create(
// FieldExistsQuery matches documents that contain a field that indexes
// norms or doc values.
new CreateIndexRequest("data").simpleMapping(
"@timestamp",
"type=date",
"host",
"type=text,norms=false",
"type=text,doc_values=false,norms=true",
"response",
"type=text,norms=false",
"type=text,doc_values=false,norms=true",
"non-existing",
"type=text,norms=false"
"type=text,doc_values=false,norms=true"
)
)
.actionGet();
Expand Down

0 comments on commit 49b2509

Please sign in to comment.