mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-27 01:54:49 +00:00
Set index:'not_analysed' setting on content_type field
This commit is contained in:
parent
4a70a4251b
commit
673da4ab02
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue