mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Set index:'not_analysed' setting on content_type field
This commit is contained in:
parent
4a70a4251b
commit
673da4ab02
@ -41,7 +41,7 @@ class ElasticSearchMapping(object):
|
||||
# Make field list
|
||||
fields = {
|
||||
'pk': dict(type='string', index='not_analyzed', store='yes'),
|
||||
'content_type': dict(type='string'),
|
||||
'content_type': dict(type='string', index='not_analyzed'),
|
||||
}
|
||||
|
||||
fields.update(dict(
|
||||
|
Loading…
Reference in New Issue
Block a user