update tag on document index

This commit is contained in:
evgeniy-st 2019-10-15 18:43:08 +03:00
parent bde81b3700
commit 3a54b70093
2 changed files with 0 additions and 4 deletions

View File

@ -44,8 +44,6 @@ class EstablishmentDocument(Document):
'id': fields.IntegerField(attr='id'),
'label': fields.ObjectField(attr='label_indexing',
properties=OBJECT_FIELD_PROPERTIES),
'category': fields.ObjectField(attr='category',
properties={'id': fields.IntegerField()})
},
multi=True)
address = fields.ObjectField(

View File

@ -29,8 +29,6 @@ class NewsDocument(Document):
'id': fields.IntegerField(attr='id'),
'label': fields.ObjectField(attr='label_indexing',
properties=OBJECT_FIELD_PROPERTIES),
'category': fields.ObjectField(attr='category',
properties={'id': fields.IntegerField()})
},
multi=True)