summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/blevesearch/bleve/index_alias_impl.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/blevesearch/bleve/index_alias_impl.go')
-rw-r--r--vendor/github.com/blevesearch/bleve/index_alias_impl.go17
1 files changed, 9 insertions, 8 deletions
diff --git a/vendor/github.com/blevesearch/bleve/index_alias_impl.go b/vendor/github.com/blevesearch/bleve/index_alias_impl.go
index ebce203462..9e9a3594ff 100644
--- a/vendor/github.com/blevesearch/bleve/index_alias_impl.go
+++ b/vendor/github.com/blevesearch/bleve/index_alias_impl.go
@@ -425,14 +425,15 @@ func (i *indexAliasImpl) Swap(in, out []Index) {
// could be slower in remote usages.
func createChildSearchRequest(req *SearchRequest) *SearchRequest {
rv := SearchRequest{
- Query: req.Query,
- Size: req.Size + req.From,
- From: 0,
- Highlight: req.Highlight,
- Fields: req.Fields,
- Facets: req.Facets,
- Explain: req.Explain,
- Sort: req.Sort,
+ Query: req.Query,
+ Size: req.Size + req.From,
+ From: 0,
+ Highlight: req.Highlight,
+ Fields: req.Fields,
+ Facets: req.Facets,
+ Explain: req.Explain,
+ Sort: req.Sort.Copy(),
+ IncludeLocations: req.IncludeLocations,
}
return &rv
}