Document sum as supported scoring type

the examples all use `sum` for the `"score_mode"` field, but it isn't listed in the list of supported modes.
This commit is contained in:
Christopher Taylor 2016-03-04 12:20:54 +01:00 committed by Clinton Gormley
parent c69fc008d4
commit 93adddc61b

View File

@ -23,7 +23,7 @@ an example:
==== Scoring capabilities
The `has_child` also has scoring support. The
supported score modes are `min`, `max`, `total`, `avg` or `none`. The default is
supported score modes are `min`, `max`, `sum`, `avg` or `none`. The default is
`none` and yields the same behaviour as in previous versions. If the
score mode is set to another value than `none`, the scores of all the
matching child documents are aggregated into the associated parent