diff --git a/cubicweb_elasticsearch/entities.py b/cubicweb_elasticsearch/entities.py index 4cb5b3c2a4b362f54ad2364a644d7ea1e4e92946_Y3ViaWN3ZWJfZWxhc3RpY3NlYXJjaC9lbnRpdGllcy5weQ==..a9a0b699f3da42a7b5686a24232d63caded8b3dd_Y3ViaWN3ZWJfZWxhc3RpY3NlYXJjaC9lbnRpdGllcy5weQ== 100644 --- a/cubicweb_elasticsearch/entities.py +++ b/cubicweb_elasticsearch/entities.py @@ -118,8 +118,7 @@ 'cwuri': entity.cwuri, } for attr in self.fulltext_indexable_attributes: - if attr in entity.cw_attr_cache: - data[attr] = entity.cw_attr_cache[attr] + data[attr] = getattr(entity, attr) # TODO take a look at what's in entity.cw_relation_cache return data