[es7] Remove standard filter

authorGuillaume Vandevelde <gvandevelde@logilab.fr>
changeset845565b8c1c0
branchdefault
phasedraft
hiddenyes
parent revision#8b9ee18ceccb [es7] Adapt to es7 new total hits mechanic
child revision#bd416d785fba [pkg] prepare 0.7.8
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 845565b8c1c0ea749b49e8ea34b4f7d153ed93a5
# Parent 8b9ee18ceccb3b508346ed402ebe450db0d08543
[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,