CONSOLEify some more docs

Relates to #18160
This commit is contained in:
Nik Everett 2017-03-22 17:15:14 -04:00
parent 1dee2f32a4
commit e860fe7363
3 changed files with 5 additions and 4 deletions

View File

@ -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',

View File

@ -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`*]

View File

@ -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: