62e6f1f648
In this commit, I saw that there was a simple incrementBytes() implementation elsewhere in bleve that seemed simpler than using the big int package. Edge case note: if the input bytes would overflow in incrementBytes(), such as with an input of [0xff 0xff 0xff], it returns nil. moss then treats a nil endKeyExclusive iterator param as a logical "higher-than-topmost" key, which produces the prefix iteration behavior that we want for this edge situation. |
||
---|---|---|
.. | ||
batch.go | ||
iterator.go | ||
lower_test.go | ||
lower.go | ||
reader.go | ||
stats.go | ||
store_test.go | ||
store.go | ||
writer.go |