From 57be0827e97e0910759a22c2966ac4316a27665d Mon Sep 17 00:00:00 2001 From: Karel Minarik Date: Tue, 28 May 2013 10:51:49 +0200 Subject: [PATCH] Improved description for the `prefer_local` parameter in the `_percolate` and `_analyze` APIs --- rest-api-spec/api/indices.analyze.json | 2 +- rest-api-spec/api/percolate.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rest-api-spec/api/indices.analyze.json b/rest-api-spec/api/indices.analyze.json index 737dbb1bf23..610c0c86dd3 100644 --- a/rest-api-spec/api/indices.analyze.json +++ b/rest-api-spec/api/indices.analyze.json @@ -30,7 +30,7 @@ }, "prefer_local": { "type" : "boolean", - "description" : "Specify whether a local or random replica should be used (default: true)" + "description" : "With `true`, specify that a local shard should be used if available, with `false`, use a random shard (default: true)" }, "text": { "type" : "string", diff --git a/rest-api-spec/api/percolate.json b/rest-api-spec/api/percolate.json index e1c54356201..43dfc3e681d 100644 --- a/rest-api-spec/api/percolate.json +++ b/rest-api-spec/api/percolate.json @@ -20,7 +20,7 @@ "params": { "prefer_local": { "type" : "boolean", - "description" : "Specify whether a local or random replica should be used (default: true)" + "description" : "With `true`, specify that a local shard should be used if available, with `false`, use a random shard (default: true)" } } },