Skip to content

Streamline single value with boost queries: Allow for both value and query name to specify the query value #192

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

Closed
lukas-vlcek opened this issue May 25, 2010 · 1 comment

Comments

@lukas-vlcek
Copy link
Contributor

As of now the prefix query accepts the following syntax:

{
    "prefix" : { "user" :  { "prefix" : "ki", "boost" : 2.0 } }
}

It would be natural to support value attribute as well. See the following example:

{
    "prefix" : { "user" :  { "value" : "ki", "boost" : 2.0 } }
}

This should be streamlined to also term, wildcard, and span_term, to allow for both value and the query name.

@kimchy
Copy link
Member

kimchy commented May 28, 2010

Streamline single value with boost queries: Allow for both value and query name to specify the query value, closed by 3406e77.

ClaudioMFreitas pushed a commit to ClaudioMFreitas/elasticsearch-1 that referenced this issue Nov 12, 2019
Fixed undefined variables when upgrading to Ansible 2.2.0. and the el…
This issue was closed.
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

2 participants