Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mxzinke
Copy link
Contributor

@mxzinke mxzinke commented Dec 14, 2023

The COUNT (both on GEOSEARCH and GEOSEARCHSTORE) was missing according the official Redis Docs: https://redis.io/commands/geosearch/

I need this change to improve performance on my application with working COUNT Limit.

Before the fix, I got the following error:

[UpstashError]: ERR syntax error, command was: ["GEOSEARCH","cache:hotels:geo-index","FROMLONLAT",-8.672491,37.10109,"BYRADIUS",10,"KM","ASC",50]

@ogzhanolguncu
Copy link
Contributor

ogzhanolguncu commented Dec 14, 2023

@mxzinke Can you update the tests with COUNT for both of the files?

@ogzhanolguncu ogzhanolguncu merged commit d9c08ac into upstash:main Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants