Skip to content
Snippets Groups Projects
Commit fa1eb8746f3d authored by Arthur Lutz's avatar Arthur Lutz
Browse files

[es/config] use lowercase and snowball filters in index (TODO : make this configurable somehow)

parent a0e41f6bd19b
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,8 @@
return {'analysis':
{'analyzer':
{'default': {'filter': ['standard',
'my_ascii_folding'],
'my_ascii_folding',
'lowercase',
'french_snowball',],
'tokenizer': 'standard'}},
'filter': {'my_ascii_folding': {'preserve_original': True,
......@@ -26,6 +28,11 @@
'tokenizer': 'standard'}},
'filter': {'my_ascii_folding': {'preserve_original': True,
'type': 'asciifolding'}}}}
'type': 'asciifolding'},
'french_snowball': {'type': 'snowball',
'language': 'French'},
}
}
}
def indexable_types(schema):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment