parent
1dee2f32a4
commit
e860fe7363
|
@ -76,8 +76,6 @@ buildRestTests.expectedUnconvertedCandidates = [
|
|||
'reference/analysis/tokenfilters/pattern-capture-tokenfilter.asciidoc',
|
||||
'reference/analysis/tokenfilters/snowball-tokenfilter.asciidoc',
|
||||
'reference/analysis/tokenfilters/stemmer-override-tokenfilter.asciidoc',
|
||||
'reference/analysis/tokenfilters/stemmer-tokenfilter.asciidoc',
|
||||
'reference/analysis/tokenfilters/stop-tokenfilter.asciidoc',
|
||||
'reference/cat/snapshots.asciidoc',
|
||||
'reference/cat/templates.asciidoc',
|
||||
'reference/cat/thread_pool.asciidoc',
|
||||
|
|
|
@ -6,8 +6,9 @@ filters through a single unified interface. For example:
|
|||
|
||||
[source,js]
|
||||
--------------------------------------------------
|
||||
PUT /my_index
|
||||
{
|
||||
"index" : {
|
||||
"settings": {
|
||||
"analysis" : {
|
||||
"analyzer" : {
|
||||
"my_analyzer" : {
|
||||
|
@ -25,6 +26,7 @@ filters through a single unified interface. For example:
|
|||
}
|
||||
}
|
||||
--------------------------------------------------
|
||||
// CONSOLE
|
||||
|
||||
The `language`/`name` parameter controls the stemmer with the following
|
||||
available values (the preferred filters are marked in *bold*):
|
||||
|
@ -177,4 +179,3 @@ http://clef.isti.cnr.it/2003/WN_web/22.pdf[`light_swedish`]
|
|||
Turkish::
|
||||
|
||||
http://snowball.tartarus.org/algorithms/turkish/stemmer.html[*`turkish`*]
|
||||
|
||||
|
|
|
@ -47,6 +47,7 @@ PUT /my_index
|
|||
}
|
||||
}
|
||||
------------------------------------
|
||||
// CONSOLE
|
||||
|
||||
or a predefined language-specific list:
|
||||
|
||||
|
@ -66,6 +67,7 @@ PUT /my_index
|
|||
}
|
||||
}
|
||||
------------------------------------
|
||||
// CONSOLE
|
||||
|
||||
Elasticsearch provides the following predefined list of languages:
|
||||
|
||||
|
|
Loading…
Reference in New Issue