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

Add boolean or constant_score similarity #6731

Closed
rmuir opened this issue Jul 4, 2014 · 4 comments
Closed

Add boolean or constant_score similarity #6731

rmuir opened this issue Jul 4, 2014 · 4 comments
Assignees
Labels
>enhancement help wanted adoptme :Search/Search Search-related issues that do not fall into other categories

Comments

@rmuir
Copy link
Contributor

rmuir commented Jul 4, 2014

The idea here is that some use cases don't need or want full-text ranking. In a lot of cases it can even hurt, for example: trying to use fuzzy query to find misspellings in a database of place names or something like that.

Today I think its too hard to turn off various measures such as IDF, we could just make it easy by providing a simple similarity out of box that users could enable.

@rmuir
Copy link
Contributor Author

rmuir commented Aug 1, 2014

@clintongormley clintongormley added >enhancement stalled :Search/Search Search-related issues that do not fall into other categories labels Nov 21, 2015
@clintongormley clintongormley added :Similarities help wanted adoptme and removed :Search/Search Search-related issues that do not fall into other categories stalled labels Nov 25, 2016
@clintongormley
Copy link

Boolean similarity is now in Lucene 6.4

@jpountz jpountz added this to Search & Aggs in Background tasks Feb 16, 2017
@synhershko
Copy link
Contributor

What is the status of this? is it exposed already?

@clintongormley
Copy link

Not yet

@abeyad abeyad assigned abeyad and unassigned rmuir Mar 12, 2017
abeyad pushed a commit to abeyad/elasticsearch that referenced this issue Mar 18, 2017
This commit adds the boolean similarity scoring from Lucene to
Elasticsearch.  The boolean similarity provides a means to specify that
a field should not be scored with typical full-text ranking algorithms,
but rather just whether the query terms match the document or not.
Boolean similarity scores a query term equal to its query boost only.
Boolean similarity is available as a default similarity option and thus
a field can be specified to have boolean similarity by declaring in its
mapping:
    "similarity": "boolean"

Closes elastic#6731
abeyad pushed a commit that referenced this issue Mar 28, 2017
This commit adds the boolean similarity scoring from Lucene to
Elasticsearch.  The boolean similarity provides a means to specify that
a field should not be scored with typical full-text ranking algorithms,
but rather just whether the query terms match the document or not.
Boolean similarity scores a query term equal to its query boost only.
Boolean similarity is available as a default similarity option and thus
a field can be specified to have boolean similarity by declaring in its
mapping:
    "similarity": "boolean"

Closes #6731
abeyad pushed a commit that referenced this issue Mar 28, 2017
This commit adds the boolean similarity scoring from Lucene to
Elasticsearch.  The boolean similarity provides a means to specify that
a field should not be scored with typical full-text ranking algorithms,
but rather just whether the query terms match the document or not.
Boolean similarity scores a query term equal to its query boost only.
Boolean similarity is available as a default similarity option and thus
a field can be specified to have boolean similarity by declaring in its
mapping:
    "similarity": "boolean"

Closes #6731
@jimczi jimczi removed this from Search & Aggs in Background tasks Apr 4, 2017
@clintongormley clintongormley added :Search/Search Search-related issues that do not fall into other categories and removed :Similarities labels Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement help wanted adoptme :Search/Search Search-related issues that do not fall into other categories
Projects
None yet
Development

No branches or pull requests

5 participants