This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 727
JSON in alias filter is unnecessarily escaped #127
Labels
Comments
For example this test
Fails with a message:
Should this |
Hi, I posted a possible solution, can you take a look and advise what needs to be done to get it merged to JEST? |
Thanks for the clean bug report and the contribution, we really appreciate it. Please see my comments on #128 for further discussion. |
kramer
pushed a commit
that referenced
this issue
Jun 17, 2014
Issue #127, JSON in alias filter is unnecessarily escaped. Changed Strin...
Merged #128, thanks again for the contribution. |
NP, Thanks for merging |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
If you want to create an alias with a filter you should use a json like this ([src])(http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-aliases.html):
The problem is that JEST escapes the JSON query in the filter object which results in something like this:
I'll submit a test case shortly...
The text was updated successfully, but these errors were encountered: