Skip to content

Commit f498904

Browse files
committed
[TASK] adding documentation for index settings
1 parent b7a6262 commit f498904

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,36 @@ changes the index alias.
114114
```
115115

116116

117+
### Advanced Index Settings
118+
If you need advanced settings you can define them in your *Settings.yaml*:
119+
120+
Example is from the Documentation of the used *Flowpack.ElasticSearch* Package
121+
122+
https://github.com/Flowpack/Flowpack.ElasticSearch/blob/master/Documentation/Indexer.rst
123+
124+
```
125+
Flowpack:
126+
ElasticSearch:
127+
indexes:
128+
default:
129+
'twitter':
130+
analysis:
131+
filter:
132+
elision:
133+
type: 'elision'
134+
articles: [ 'l', 'm', 't', 'qu', 'n', 's', 'j', 'd' ]
135+
analyzer:
136+
custom_french_analyzer:
137+
tokenizer: 'letter'
138+
filter: [ 'asciifolding', 'lowercase', 'french_stem', 'elision', 'stop' ]
139+
tag_analyzer:
140+
tokenizer: 'keyword'
141+
filter: [ 'asciifolding', 'lowercase' ]
142+
```
143+
144+
If you use multiple client configurations, please change the *default* key just below the *indexes*.
145+
146+
117147
## Doing Arbitrary Queries
118148

119149
We'll first show how to do arbitrary ElasticSearch Queries in TypoScript. This is a more powerful

0 commit comments

Comments
 (0)