From e28ad853c73b4a25f706b283ed6c7d6354e22865 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Tue, 5 May 2015 11:17:05 +0200 Subject: [PATCH] Docs: Fixed bad asciidoc in migrate_2_0 --- docs/reference/migration/migrate_2_0.asciidoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/reference/migration/migrate_2_0.asciidoc b/docs/reference/migration/migrate_2_0.asciidoc index 2158aacfc2f..b9e84b85839 100644 --- a/docs/reference/migration/migrate_2_0.asciidoc +++ b/docs/reference/migration/migrate_2_0.asciidoc @@ -400,9 +400,9 @@ be used separately to control whether `routing_nodes` should be returned. === Query DSL -Change to ranking behaviour: single-term queries on numeric fields now score in the same way as string fields (use of IDF, norms if enabled). +Change to ranking behaviour: single-term queries on numeric fields now score in the same way as string fields (use of IDF, norms if enabled). Previously, term queries on numeric fields were deliberately prevented from using the usual Lucene scoring logic and this behaviour was undocumented and, to some, unexpected. -If the introduction of scoring to numeric fields is undesirable for your query clauses the fix is simple: wrap them in a `constant_score` or use a `filter` expression instead. +If the introduction of scoring to numeric fields is undesirable for your query clauses the fix is simple: wrap them in a `constant_score` or use a `filter` expression instead. The `fuzzy_like_this` and `fuzzy_like_this_field` queries have been removed. @@ -462,7 +462,7 @@ The `index.store.distributor` setting has also been removed. === Hunspell dictionary configuration The parameter `indices.analysis.hunspell.dictionary.location` has been removed, -and `/hunspell` is always used. +and `/hunspell` is always used. === Java API Transport API construction @@ -474,6 +474,7 @@ pattern. Instead of using: Settings settings = ImmutableSettings.settingsBuilder() .put("cluster.name", "myClusterName").build(); Client client = new TransportClient(settings); +-------------------------------------------------- Use: