-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email/query Allow filtering by Header #3737
Comments
I don't think we can easily handle that. |
Why? It natively supported by ES query, no? |
By design, ElasticSearch is badly suited for exact matching, so I'm skeptical. Do you have a reference of a query doing so? The "match" query documenbtation do not mention such a behaviour... |
Cool but it is likely not the request we currently use nowaday at the search index level. Maybe adapting that part would require more details in the ticket? |
WHY
As a user i want to search for messages having a header field named after a certain value.
Also as a user i want to search for messages having a specific header field containing a given value.
header: String[] The array MUST contain either one or two elements. The first element is the name of the header field to match against. The second (optional) element is the text to look for in the header field value. If not supplied, the message matches simply if it has a header field of the given name.
To look for messages having a header field named 'myHeader' i can send this query.
To look for messages having a header field named 'myHeader' containing the word 'james' i can send this query.
HOW
DOD
The text was updated successfully, but these errors were encountered: