Hi all,
I just started to use ElasticSearch and I found parent/child document
feature very powerful over other search server options.
I can successfully create parent/child docs relation with below sample
and I can query over existence of a child document value.
But I want to boost parent document based on a child item value.
For example I want to boost "product" by viewcount value from child
object. As I understand I need to use custom_score but I couldn't find
an example for this kind of requirement.
Hi all,
I just started to use Elasticsearch and I found parent/child document
feature very powerful over other search server options.
I can successfully create parent/child docs relation with below sample
and I can query over existence of a child document value.
But I want to boost parent document based on a child item value.
For example I want to boost "product" by viewcount value from child
object. As I understand I need to use custom_score but I couldn't find
an example for this kind of requirement.
Hi all,
I just started to use Elasticsearch and I found parent/child document
feature very powerful over other search server options.
I can successfully create parent/child docs relation with below sample
and I can query over existence of a child document value.
But I want to boost parent document based on a child item value.
For example I want to boost "product" by viewcount value from child
object. As I understand I need to use custom_score but I couldn't find
an example for this kind of requirement.
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.