From 9b1fc48a7f40420b43d1ded03427edfd4284b8a6 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Tue, 5 May 2015 17:48:54 -0700 Subject: [PATCH] address PR comments --- docs/reference/mapping/fields/field-names-field.asciidoc | 1 - docs/reference/mapping/fields/routing-field.asciidoc | 6 ++---- docs/reference/query-dsl/filters/ids-filter.asciidoc | 2 +- docs/reference/query-dsl/filters/type-filter.asciidoc | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/reference/mapping/fields/field-names-field.asciidoc b/docs/reference/mapping/fields/field-names-field.asciidoc index f98dc6ccb24de..4f3e4a2b3fb87 100644 --- a/docs/reference/mapping/fields/field-names-field.asciidoc +++ b/docs/reference/mapping/fields/field-names-field.asciidoc @@ -1,6 +1,5 @@ [[mapping-field-names-field]] === `_field_names` -added[1.3.0] The `_field_names` field indexes the field names of a document, which can later be used to search for documents based on the fields that they contain typically diff --git a/docs/reference/mapping/fields/routing-field.asciidoc b/docs/reference/mapping/fields/routing-field.asciidoc index 6ca0561359896..37b173e5aa365 100644 --- a/docs/reference/mapping/fields/routing-field.asciidoc +++ b/docs/reference/mapping/fields/routing-field.asciidoc @@ -2,7 +2,7 @@ === `_routing` The routing field allows to control the `_routing` aspect when indexing -data and explicit routing control is required. +data and explicit routing control is required. It is stored and indexed. [float] ==== required @@ -11,9 +11,7 @@ Another aspect of the `_routing` mapping is the ability to define it as required by setting `required` to `true`. This is very important to set when using routing features, as it allows different APIs to make use of it. For example, an index operation will be rejected if no routing value -has been provided (or derived from the doc). A delete operation will be -broadcasted to all shards if no routing value is provided and `_routing` -is required. +has been provided. [float] ==== id uniqueness diff --git a/docs/reference/query-dsl/filters/ids-filter.asciidoc b/docs/reference/query-dsl/filters/ids-filter.asciidoc index d66c7d0a1e50c..0939142d0363f 100644 --- a/docs/reference/query-dsl/filters/ids-filter.asciidoc +++ b/docs/reference/query-dsl/filters/ids-filter.asciidoc @@ -15,4 +15,4 @@ uses the <> field. -------------------------------------------------- The `type` is optional and can be omitted, and can also accept an array -of values. +of values. If no type is specified, all types defined in the index mapping are tried. diff --git a/docs/reference/query-dsl/filters/type-filter.asciidoc b/docs/reference/query-dsl/filters/type-filter.asciidoc index 3d57e83d46736..f3136b4e651c2 100644 --- a/docs/reference/query-dsl/filters/type-filter.asciidoc +++ b/docs/reference/query-dsl/filters/type-filter.asciidoc @@ -1,8 +1,7 @@ [[query-dsl-type-filter]] === Type Filter -Filters documents matching the provided document / mapping type. Note, -this filter uses the <> field. +Filters documents matching the provided document / mapping type. [source,js] --------------------------------------------------