This works (I still have issues with relevance, etc - but it works.) But in the docs it says that you can use an ids field but that doesn't seem to work. like_text also meets with a [mlt] query does not support [like_text]
I also cannot find an acceptable way to use the Query Formation Parameters (esp. minimum_should_match).
Are there some examples using the MLT query and these features?
I opened an issue to flag the incorrect docs.
It includes an example of how the old ids and like_text functionality is achieved using the new unified like parameter
The example in the issue is basically the same as that in the documentation.
I was pointing out that the MLT docs says that it (basically) uses the MultiGET syntax, one of which is ids:["1","2"]. But that syntax doesn't seem to work for the MLT. I'm not saying it's a bug.. just caused me some confusion especially since the ids syntax used to be supported for MLT.
Ideally, I would think either MLT should support short ids
"like": {
"ids": ["1","2","3"]
}
or that there is an explicit reference that MLT supports the MultiGET syntax, except for short ids.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.