-
-
Save clintongormley/0d3b377fec9e2e9c333a to your computer and use it in GitHub Desktop.
This file contains 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 characters
curl -XGET 'http://127.0.0.1:9200/_all/_search?pretty=1' -d ' | |
{ | |
"query" : { | |
"filtered" : { | |
"filter" : { | |
"and" : [ | |
{ | |
"or" : [ | |
{ | |
"terms" : { | |
"readAccessGroupAccessBits" : [ | |
"1", | |
2, | |
4, | |
64, | |
524288 | |
] | |
} | |
}, | |
{ | |
"term" : { | |
"readAccessAccounts" : 203 | |
} | |
} | |
] | |
}, | |
{ | |
"not" : { | |
"filter" : { | |
"term" : { | |
"category.categoryTypeID" : 105 | |
} | |
} | |
} | |
} | |
] | |
}, | |
"query" : { | |
"query_string" : { | |
"fields" : [ | |
"message^1", | |
"subject^3" | |
], | |
"query" : "jboss ssl install", | |
"analyzer" : "snowball" | |
} | |
} | |
} | |
} | |
} | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment