mlt_field doesn't support boost #1773

Closed
clintongormley opened this Issue Mar 9, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Owner

clintongormley commented Mar 9, 2012

In 0.19 I'm getting an error saying that the mlt_field query doesn't support the boost param, eg:

curl -XGET 'http://127.0.0.1:9200/iannounce_object/_search?pretty=1'  -d '
{
   "query" : {
      "mlt_field" : {
         "name_keywords" : {
            "max_query_terms" : "100",
            "min_doc_freq" : "1",
            "boost" : 3,
            "like_text" : "Joe Bloggs",
            "min_term_freq" : "1",
            "percent_terms_to_match" : 0.3
         }
      }
   }
}
'

But according to the docs, it does: http://www.elasticsearch.org/guide/reference/query-dsl/mlt-query.html

Which is correct?

Owner

clintongormley commented Mar 9, 2012

Same goes for the mlt query

kimchy closed this in d996392 Mar 10, 2012

@mute mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

@kimchy kimchy mlt_field doesn't support boost, closes #1773. 4af9a40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment