From ea5398782870cd46b83056c28f377dd54a6f01bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Fri, 17 Jan 2014 15:42:01 +0100 Subject: [PATCH] No more percolate in index --- elasticsearch/client/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/elasticsearch/client/__init__.py b/elasticsearch/client/__init__.py index 6750d8fa..bfde26cf 100644 --- a/elasticsearch/client/__init__.py +++ b/elasticsearch/client/__init__.py @@ -144,7 +144,7 @@ class Elasticsearch(object): """ return self.index(index, doc_type, body, id=id, params=params, op_type='create') - @query_params('consistency', 'op_type', 'parent', 'percolate', 'refresh', + @query_params('consistency', 'op_type', 'parent', 'refresh', 'replication', 'routing', 'timeout', 'timestamp', 'ttl', 'version', 'version_type') def index(self, index, doc_type, body, id=None, params=None): """ @@ -158,7 +158,6 @@ class Elasticsearch(object): :arg consistency: Explicit write consistency setting for the operation :arg op_type: Explicit operation type (default: index) :arg parent: ID of the parent document - :arg percolate: Percolator queries to execute while indexing the document :arg refresh: Refresh the index after performing the operation :arg replication: Specific replication type (default: sync) :arg routing: Specific routing value