Open ernst545 opened 5 years ago
In this example class Meta should be changed to class Index
class Meta
class Index
class BlogIndex(DocType): pk = Integer() title = Text(fields={'raw': Keyword()}) created_at = Date() body = Text() tags = Keyword(multi=True) is_published = Boolean() class Meta: index = 'blog'
This api has changed in the previous release of elasticsearch-dsl-py:
elasticsearch-dsl-py
class Index: name = 'blog'
@ernst545 updated!
In this example
class Meta
should be changed toclass Index
This api has changed in the previous release of
elasticsearch-dsl-py
: