Closed
Description
#936
I'm copying the question here, because the issue is closed and not sure if it will be noticed..
elasticsearch==6.3.1
elasticsearch-dsl==6.3.1
class ReviewMeta(InnerDoc):
id = Integer()
name = Keyword()
tags = Keyword()
location = GeoPoint()
area_names = Keyword()
class ReviewMetaSearchClickLogDoc(DocType):
id = Integer()
created_at = Date()
search_log_id = Integer()
review_meta = Object(ReviewMeta)
position = Integer()
class Index:
name = REVIEWMETA_SEARCH_CLICK_LOG_INDEX
class ReviewMetaSearchLogDoc(DocType):
id = Integer()
created_at = Date()
user = Object(User)
result_count = Integer()
search_data = Object(dynamic=True)
clicks = Nested(ReviewMetaSearchClickLogDoc, include_in_parent=True)
class Index:
name = REVIEWMETA_SEARCH_LOG_INDEX
I guess the problem is Nested(ReviewMetaSearchClickLogDoc, include_in_parent=True)
, why is it a problametic, and how can I fix it?
Metadata
Metadata
Assignees
Labels
No labels