Skip to content

Commit 26e475b

Browse files
committed
Update elasticsearch_backend.py
1 parent b3b7ce1 commit 26e475b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haystack/backends/elasticsearch_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def search(self, query_string, **kwargs):
487487
try:
488488
raw_results = self.conn.search(body=search_kwargs,
489489
index=self.index_name,
490-
doc_type='modelresult')
490+
doc_type='modelresult', _source=True)
491491
except elasticsearch.TransportError as e:
492492
if not self.silently_fail:
493493
raise

0 commit comments

Comments
 (0)