mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-01-06 17:22:54 +00:00
fix field_names in top_hits aggregation (#2675)
This commit is contained in:
@@ -229,6 +229,7 @@ impl TopHitsAggregationReq {
|
|||||||
self.sort
|
self.sort
|
||||||
.iter()
|
.iter()
|
||||||
.map(|KeyOrder { field, .. }| field.as_str())
|
.map(|KeyOrder { field, .. }| field.as_str())
|
||||||
|
.chain(self.doc_value_fields.iter().map(|s| s.as_str()))
|
||||||
.collect()
|
.collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user