0
0
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:
Karl Hobley 2014-06-20 17:19:32 +01:00
parent 4a70a4251b
commit 673da4ab02

View File

@ -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(