Docs: Fixed bad asciidoc in migrate_2_0

This commit is contained in:
Clinton Gormley 2015-05-05 11:17:05 +02:00
parent 123b0723fe
commit e28ad853c7
1 changed files with 4 additions and 3 deletions

View File

@ -400,9 +400,9 @@ be used separately to control whether `routing_nodes` should be returned.
=== Query DSL === 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. 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. 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 === Hunspell dictionary configuration
The parameter `indices.analysis.hunspell.dictionary.location` has been removed, The parameter `indices.analysis.hunspell.dictionary.location` has been removed,
and `<path.conf>/hunspell` is always used. and `<path.conf>/hunspell` is always used.
=== Java API Transport API construction === Java API Transport API construction
@ -474,6 +474,7 @@ pattern. Instead of using:
Settings settings = ImmutableSettings.settingsBuilder() Settings settings = ImmutableSettings.settingsBuilder()
.put("cluster.name", "myClusterName").build(); .put("cluster.name", "myClusterName").build();
Client client = new TransportClient(settings); Client client = new TransportClient(settings);
--------------------------------------------------
Use: Use: