Skip to content

Commit 13e7b7e

Browse files
[DOC] added missing "settings" below the index name
1 parent 1b707c1 commit 13e7b7e

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,19 @@ analyzer to be used:
7171
indexes:
7272
default: # client name used to connect (see Flowpack.ElasticSearch.clients)
7373
acmecom: # your (custom) index name
74-
analysis:
75-
filter:
76-
autocompleteFilter:
77-
max_shingle_size: 5
78-
min_shingle_size: 2
79-
type: 'shingle'
80-
analyzer:
81-
autocomplete:
82-
filter: [ 'lowercase', 'autocompleteFilter' ]
83-
char_filter: [ 'html_strip' ]
84-
type: 'custom'
85-
tokenizer: 'standard'
74+
settings:
75+
analysis:
76+
filter:
77+
autocompleteFilter:
78+
max_shingle_size: 5
79+
min_shingle_size: 2
80+
type: 'shingle'
81+
analyzer:
82+
autocomplete:
83+
filter: [ 'lowercase', 'autocompleteFilter' ]
84+
char_filter: [ 'html_strip' ]
85+
type: 'custom'
86+
tokenizer: 'standard'
8687

8788
Then you need to configure the node types to be be included in the suggestion building, this can be
8889
done like this:

0 commit comments

Comments
 (0)