Update dependencies
This commit is contained in:
parent
e97c7f2ada
commit
71b2136a9e
138 changed files with 7864 additions and 968 deletions
6
vendor/github.com/blevesearch/bleve/search/sort.go
generated
vendored
6
vendor/github.com/blevesearch/bleve/search/sort.go
generated
vendored
|
@ -233,7 +233,11 @@ func (so SortOrder) Compare(cachedScoring, cachedDesc []bool, i, j *DocumentMatc
|
|||
} else {
|
||||
iVal := i.Sort[x]
|
||||
jVal := j.Sort[x]
|
||||
c = strings.Compare(iVal, jVal)
|
||||
if iVal < jVal {
|
||||
c = -1
|
||||
} else if iVal > jVal {
|
||||
c = 1
|
||||
}
|
||||
}
|
||||
|
||||
if c == 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue