Docs: cross_type query needs to be cross_fields

Closes #8021
This commit is contained in:
Patrick Peschlow 2014-10-08 14:13:08 +02:00 committed by Clinton Gormley
parent f885abbedb
commit 340e0efcaa
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ Having multiple groups is fine, but when combined with `operator` or
`minimum_should_match`, it can suffer from the <<operator-min,same problem>>
as `most_fields` or `best_fields`.
You can easily rewrite this query yourself as two separate `cross_type`
You can easily rewrite this query yourself as two separate `cross_fields`
queries combined with a `bool` query, and apply the `minimum_should_match`
parameter to just one of them: