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

simple query string: remove (not working) support for alternate formats #12798

Closed

Conversation

javanna
Copy link
Member

@javanna javanna commented Aug 11, 2015

Removed attempt of parsing of field rather than fields and attempted support of the following syntax:

{
  "simple_query_string": {
    "body" : {
      "query": "foo bar"
    }
  }
}

Both these two syntaxes were undocumented, untested and not working.

Added test for case when fields is not specified, then the default field is queried.

Closes #12794

@dakrone
Copy link
Member

dakrone commented Aug 11, 2015

LGTM

Removed attempt of parsing of `field` rather than `fields` and attempted support of the following syntax:

```
{
  "simple_query_string": {
    "body" : {
      "query": "foo bar"
    }
  }
}
```

Both these two syntaxes were undocumented, untested and not working.

Added test for case when `fields` is not specified, then the default field is queried.

Closes elastic#12794
Closes elastic#12798
@javanna javanna force-pushed the fix/simple_query_parser_field branch from 018fbb6 to 1b486d0 Compare August 11, 2015 10:37
@javanna javanna closed this in db72199 Aug 11, 2015
@jpountz jpountz removed the v2.0.0 label Aug 21, 2015
@clintongormley clintongormley added :Search/Search Search-related issues that do not fall into other categories and removed :Query DSL labels Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search/Search Search-related issues that do not fall into other categories v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants