[es7] Remove standard filter

authorGuillaume Vandevelde <gvandevelde@logilab.fr>
changeset3bdc6f1a60df
branchdefault
phasepublic
hiddenno
parent revision#f84df2d2d35d [es7] Adapt to es7 new total hits mechanic
child revision#80f190c2b212 Add check-manifest
files modified by this revision
cubicweb_elasticsearch/entities.py
# HG changeset patch
# User Guillaume Vandevelde <gvandevelde@logilab.fr>
# Date 1571738843 -7200
# Tue Oct 22 12:07:23 2019 +0200
# Node ID 3bdc6f1a60df13548613ba51eaef651ff2e66281
# Parent f84df2d2d35de0d5686e4cfc0994d0d7dff01ab8
[es7] Remove standard filter

diff --git a/cubicweb_elasticsearch/entities.py b/cubicweb_elasticsearch/entities.py
@@ -53,12 +53,11 @@
1      adapter = 'IFullTextIndexSerializable'
2      settings = {
3          'settings': {
4              'analysis': {
5                  'analyzer': {
6 -                    'default': {'filter': ['standard',
7 -                                           'my_ascii_folding',
8 +                    'default': {'filter': ['my_ascii_folding',
9                                             'lowercase',
10                                             'french_snowball'],
11                                  'tokenizer': 'standard'}
12                  },
13                  'filter': {'my_ascii_folding': {'preserve_original': True,