GET /XXX/stories/_search
{
"more_like_this" : {
"like_text" : "Don't hate",
"min_term_freq" : 1,
"max_query_terms" : 12
}
}
This is giving me parsing exception.
GET /XXX/stories/_search
{
"more_like_this" : {
"like_text" : "Don't hate",
"min_term_freq" : 1,
"max_query_terms" : 12
}
}
This is giving me parsing exception.
GET /XXX/stories/_search
{
"query": {
"more_like_this" : {
"like_text" : "Don't hate",
"min_term_freq" : 1,
"max_query_terms" : 12
}
}
}
Figured out it needs to be under query. But strange thing is it gave me nothing back.
I am sure at least 200+ documents had that text
© 2020. All Rights Reserved - Elasticsearch
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.