docs: Updated reference docs that `document_type` is deprecated
This commit is contained in:
parent
7930b8a720
commit
c8777c4c2e
|
@ -120,8 +120,8 @@ The following parameters are required when percolating a document:
|
|||
|
||||
[horizontal]
|
||||
`field`:: The field of type `percolator` that holds the indexed queries. This is a required parameter.
|
||||
`document_type`:: The type / mapping of the document being percolated. This is a required parameter.
|
||||
`document`:: The source of the document being percolated.
|
||||
`document_type`:: The type / mapping of the document being percolated. This setting is deprecated and only required for indices created before 6.0
|
||||
|
||||
Instead of specifying the source of the document being percolated, the source can also be retrieved from an already
|
||||
stored document. The `percolate` query will then internally execute a get request to fetch that document.
|
||||
|
|
Loading…
Reference in New Issue