From 892d9774f5520a90b2239daf3d52ed9f2d5af280 Mon Sep 17 00:00:00 2001 From: jaymode Date: Fri, 31 Jul 2015 10:43:03 -0400 Subject: [PATCH] update limitations around more like this query This updates the limitations section to indicate that the MLT query only works with Elasticsearch 1.6.2+ and 1.7.1+. Closes elastic/elasticsearch#331 Original commit: elastic/x-pack-elasticsearch@70f2bb484ee976752240b1b210bbbabfaa7088ba --- shield/docs/public/limitations.asciidoc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/shield/docs/public/limitations.asciidoc b/shield/docs/public/limitations.asciidoc index a0509549c08..ac1726500af 100644 --- a/shield/docs/public/limitations.asciidoc +++ b/shield/docs/public/limitations.asciidoc @@ -62,17 +62,21 @@ when computing the aggregation results. [[limitations-disable-cache]] [float] ==== Elasticsearch 1.6+ -Elasticsearch 1.6 removes all of the limitations below with queries and filters, *but* there is the possibility of -authorization being bypassed when using a terms filter with the +Elasticsearch 1.6 removes all of the limitations below with queries and filters with the exception of the {ref}/query-dsl-mlt-query.html[More Like This Query]. +*But* there is the possibility of authorization being bypassed when using a terms filter with the {ref}/query-dsl-terms-filter.html#_terms_lookup_mechanism[terms lookup mechanism]. The authorization that could be -bypassed is for the index containing the terms. In order to ensure that all requests are properly authorized when using -Shield 1.2.0 and 1.2.1, add the following setting to your `elasticsearch.yml` file: +bypassed is for the index containing the terms when using Shield 1.2.0 and 1.2.1. If using Shield 1.2.0 or 1.2.1, +add the following setting to your `elasticsearch.yml` file to ensure that requests are properly authorized: [source,yaml] -------------------------------------------------- indices.cache.filter.terms.size: 0 -------------------------------------------------- +Shield 1.2.2+ does not require this setting to be specified. + +Elasticsearch 1.6.2+ and 1.7.1+ remove the limitations on the {ref}/query-dsl-mlt-query.html[More Like This Query]. + [float] ==== Elasticsearch pre-1.6.0 Certain Elasticsearch requests execute other requests as part of their implementation. Some of these requests do not