elasticsearch/elasticsearch — Issue #1773: mlt_field doesn't support boost
Author: clintongormley
Created: 2012-03-09 10:32:36+00:00
State: open

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?