|
@@ -107,7 +107,7 @@ is not mapped.
|
|
|
|
|
|
Parent documents can't be sorted by fields in matching child documents via the
|
|
|
regular sort options. If you need to sort parent document by field in the child
|
|
|
-documents then you can should use the `function_score` query and then just sort
|
|
|
+documents then you should use the `function_score` query and then just sort
|
|
|
by `_score`.
|
|
|
|
|
|
Sorting blogs by child documents' `click_count` field:
|