|
@@ -16,8 +16,6 @@ curl -XGET 'localhost:9200/_analyze' -d '
|
|
|
}'
|
|
|
--------------------------------------------------
|
|
|
|
|
|
-coming[2.0.0-beta1, body based parameters were added in 2.0.0]
|
|
|
-
|
|
|
If text parameter is provided as array of strings, it is analyzed as a multi-valued field.
|
|
|
|
|
|
[source,js]
|
|
@@ -29,8 +27,6 @@ curl -XGET 'localhost:9200/_analyze' -d '
|
|
|
}'
|
|
|
--------------------------------------------------
|
|
|
|
|
|
-coming[2.0.0-beta1, body based parameters were added in 2.0.0]
|
|
|
-
|
|
|
Or by building a custom transient analyzer out of tokenizers,
|
|
|
token filters and char filters. Token filters can use the shorter 'filters'
|
|
|
parameter name:
|
|
@@ -53,8 +49,6 @@ curl -XGET 'localhost:9200/_analyze' -d '
|
|
|
}'
|
|
|
--------------------------------------------------
|
|
|
|
|
|
-coming[2.0.0-beta1, body based parameters were added in 2.0.0]
|
|
|
-
|
|
|
It can also run against a specific index:
|
|
|
|
|
|
[source,js]
|
|
@@ -78,8 +72,6 @@ curl -XGET 'localhost:9200/test/_analyze' -d '
|
|
|
}'
|
|
|
--------------------------------------------------
|
|
|
|
|
|
-coming[2.0.0-beta1, body based parameters were added in 2.0.0]
|
|
|
-
|
|
|
Also, the analyzer can be derived based on a field mapping, for example:
|
|
|
|
|
|
[source,js]
|
|
@@ -91,8 +83,6 @@ curl -XGET 'localhost:9200/test/_analyze' -d '
|
|
|
}'
|
|
|
--------------------------------------------------
|
|
|
|
|
|
-coming[2.0.0-beta1, body based parameters were added in 2.0.0]
|
|
|
-
|
|
|
Will cause the analysis to happen based on the analyzer configured in the
|
|
|
mapping for `obj1.field1` (and if not, the default index analyzer).
|
|
|
|