I found this:
it use custom_score, but it can not work at version 1.2.1.
I try to use function_score, but get exception:
nested: PropertyAccessException[[Error: could not access: offer; in class:
org.elasticsearch.search.lookup.DocLookup]\n[Near : {...
doc[offer.price].value ....}
"offer" is the child's index type.
Please some one know that, help me, thanks!
--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/63c50d63-05ee-4692-b85a-139dab506ead%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.