diff options
author | qetu3790 <qetu3790@163.com> | 2022-02-21 14:06:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 08:06:58 +0200 |
commit | b2d393b9902fd159878a2f94632853db52e220b8 (patch) | |
tree | 5f0406eeadbb8ed4738c1fd96a7256ae985fd993 /src/rax_malloc.h | |
parent | 9b0fd9f4d0e7e41f3cc78b4bd37619b574246aef (diff) | |
download | redis-b2d393b9902fd159878a2f94632853db52e220b8.tar.gz |
Fix geo search bounding box check causing missing results (#10018)
Consider the following example:
1. geoadd k1 -0.15307903289794921875 85 n1 0.3515625 85.00019260486917005437 n2.
2. geodist k1 n1 n2 returns "4891.9380"
3. but GEORADIUSBYMEMBER k1 n1 4891.94 m only returns n1.
n2 is in the boundingbox but out of search areas.So we let search areas contain boundingbox to get n2.
Co-authored-by: Binbin <binloveplay1314@qq.com>
Diffstat (limited to 'src/rax_malloc.h')
0 files changed, 0 insertions, 0 deletions