bugfixes more search results and dump restore options
This commit is contained in:
parent
f4fcf0d9a8
commit
3cd460318a
124 changed files with 3915 additions and 9579 deletions
6
vendor/github.com/blevesearch/bleve/query_disjunction.go
generated
vendored
6
vendor/github.com/blevesearch/bleve/query_disjunction.go
generated
vendored
|
|
@ -81,6 +81,12 @@ func (q *disjunctionQuery) Validate() error {
|
|||
if int(q.MinVal) > len(q.Disjuncts) {
|
||||
return ErrorDisjunctionFewerThanMinClauses
|
||||
}
|
||||
for _, q := range q.Disjuncts {
|
||||
err := q.Validate()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue