Created
May 15, 2025 13:48
-
-
Save szydan/e17af0f837251cd9e0e1294810f3e263 to your computer and use it in GitHub Desktop.
Revisions
-
szydan created this gist
May 15, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ GET .siren/_search { "_source": false, "query": { "bool": { "must": [ { "exists": { "field": "search.indexPattern.fieldFormatMap.keyword" }}, { "script": { "script": { "source": "return doc['search.indexPattern.fieldFormatMap.keyword'].value.length() > 50;", "lang": "painless" } } } ] } } }