Browse Source

docs: Updated reference docs that `document_type` is deprecated

Martijn van Groningen 8 years ago
parent
commit
c8777c4c2e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/query-dsl/percolate-query.asciidoc

+ 1 - 1
docs/reference/query-dsl/percolate-query.asciidoc

@@ -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.