parent
3c886276ed
commit
316970df13
|
@ -398,15 +398,14 @@ func MultiSearch(req *SearchRequest, indexes ...Index) (*SearchResult, error) {
|
|||
}
|
||||
}
|
||||
case err, ok = <-errs:
|
||||
// for now stop on any error
|
||||
// FIXME offer other behaviors
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// for now stop on any error
|
||||
// FIXME offer other behaviors
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// merge just concatenated all the hits
|
||||
// now lets clean it up
|
||||
|
||||
|
|
Loading…
Reference in New Issue