Adding sort to SearchRequest.
This commit is contained in:
parent
0d6a2b565f
commit
7d4b7fb67d
|
@ -63,7 +63,10 @@ func (hc *HeapCollector) Collect(ctx context.Context, searcher search.Searcher)
|
|||
default:
|
||||
}
|
||||
}
|
||||
hc.collectSingle(next)
|
||||
err = hc.collectSingle(next)
|
||||
if err != nil {
|
||||
break
|
||||
}
|
||||
if hc.facetsBuilder != nil {
|
||||
err = hc.facetsBuilder.Update(next)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user