many slugs es news fix
This commit is contained in:
parent
c90f8302ee
commit
77af35f543
|
|
@ -17,7 +17,7 @@ class NewsDocument(Document):
|
|||
'name': fields.KeywordField()})
|
||||
title = fields.ObjectField(attr='title_indexing',
|
||||
properties=OBJECT_FIELD_PROPERTIES)
|
||||
slugs = fields.ObjectField()
|
||||
slugs = fields.ListField(fields.ObjectField())
|
||||
backoffice_title = fields.TextField(analyzer='english')
|
||||
subtitle = fields.ObjectField(attr='subtitle_indexing',
|
||||
properties=OBJECT_FIELD_PROPERTIES)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user