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

flake8

parent 0324924ebea0
No related branches found
No related tags found
No related merge requests found
......@@ -18,20 +18,20 @@
INDEXABLE_TYPES = None
INDEX_SETTINGS = {'analysis':
{'analyzer':
{'default': {'filter': ['standard',
'my_ascii_folding',
'lowercase',
'french_snowball'],
'tokenizer': 'standard'}},
'filter': {'my_ascii_folding': {'preserve_original': True,
'type': 'asciifolding'},
'french_snowball': {'type': 'snowball',
'language': 'French'}
}
},
}
INDEX_SETTINGS = {'analysis':
{'analyzer':
{'default': {'filter': ['standard',
'my_ascii_folding',
'lowercase',
'french_snowball'],
'tokenizer': 'standard'}},
'filter': {'my_ascii_folding': {'preserve_original': True,
'type': 'asciifolding'},
'french_snowball': {'type': 'snowball',
'language': 'French'}
}
},
}
def indexable_types(schema):
......
......@@ -230,7 +230,7 @@
Method to list facets to display (can be customized)
'''
return ('cw_etype', )
def display_facets(self, response):
'''
Generate HTML for facets
......
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