Function score query does NOT replace boost field well - how to access child's fields?!


Boost field is deprecated since ES 1.0.0 so I've decided to change it to
the function score query as suggested in the docs.

So I tried to change this:

Into this:

The problem is that i can't use child's fields inside the top_children
query. How should I handle this?

Thanks in advance

Paweł Młynarczyk

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit