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

Minimium_should_match doesn't work with simple_query_string #6449

Closed
riichard opened this issue Jun 10, 2014 · 0 comments · Fixed by #9864
Closed

Minimium_should_match doesn't work with simple_query_string #6449

riichard opened this issue Jun 10, 2014 · 0 comments · Fixed by #9864
Assignees

Comments

@riichard
Copy link

When I add a minimum_should_match field to my simple_query_string object, it returns an error about an unsupported field.

The error:

QueryParsingException[[owlin-production] [simple_query_string] unsupported field [minimum_should_match]]; }]","status":400}

The query:

{
    simple_query_string: {
        fields: [
            'header',
            'description'
        ],
        query: 'foo',
        minimum_should_match: 2,
        default_operator: 'OR'
    }
}
@dakrone dakrone self-assigned this Jun 16, 2014
dakrone added a commit to dakrone/elasticsearch that referenced this issue Feb 25, 2015
This behaves similar to the way that `minimum_should_match` works for
the `match` query (in fact it is implemented in the exact same way)

Fixes elastic#6449
dakrone added a commit that referenced this issue Feb 25, 2015
This behaves similar to the way that `minimum_should_match` works for
the `match` query (in fact it is implemented in the exact same way)

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

Successfully merging a pull request may close this issue.

2 participants