Skip to content
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

Match query should fail when trying to provide several fields in its simplified form #2432

Closed
kimchy opened this issue Nov 22, 2012 · 0 comments

Comments

@kimchy
Copy link
Member

kimchy commented Nov 22, 2012

For example, this query should fail, because operator is being used in its simplified form:

curl "http://localhost:9200/test/orte/_search?pretty=1" -d '
{
  query: {
   "match": {
     "synonyme" : "das alte",
     "operator" : "or"
   }
  },
  "highlight" : {
    "fields" : {
        "synonyme" : {}
    }
  }
}
'

This issue was created because of #2431

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant