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 lucene LMSimilarity #5701

Closed
wants to merge 1 commit into from
Closed

Conversation

kzwang
Copy link
Contributor

@kzwang kzwang commented Apr 7, 2014

closes #5697

Jelinek Mercer similarity] . This similarity has the following options:

[horizontal]
`lamba`:: The optimal value depends on both the collection and the query. The optimal value is around `0.1`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a typo right? should be lambda I think.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh... yes it's a typo

@javanna javanna self-assigned this Apr 7, 2014
@jpountz
Copy link
Contributor

jpountz commented Apr 7, 2014

Apart from the typo that Luca found, this looks good to me!

@kzwang
Copy link
Contributor Author

kzwang commented Apr 7, 2014

@javanna @jpountz fixed the typo

@@ -0,0 +1,36 @@
package org.elasticsearch.index.similarity;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are missing the license header here... build fails :(

@kzwang
Copy link
Contributor Author

kzwang commented Apr 7, 2014

@javanna added license header

@javanna
Copy link
Member

javanna commented Apr 7, 2014

Merged, thanks!

@javanna javanna closed this Apr 7, 2014
@clintongormley clintongormley changed the title add lucene LMSimilarity Add lucene LMSimilarity Jun 7, 2015
@clintongormley clintongormley added >enhancement v2.0.0-beta1 v1.2.0 :Search/Mapping Index mappings, including merging and defining field types labels Jun 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search/Mapping Index mappings, including merging and defining field types v1.2.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lucene LMSimilarity seems to be missing in Elasticsearch
4 participants