You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GEOSEARCHSTORE command in Valley currently supports the ASC and DESC options, which are used to specify the sorting order of the search results. However, in the context of GEOSEARCHSTORE, where the results are stored in a sorted set, these options become redundant.
When using GEOSEARCHSTORE, the results are stored in a sorted set where the order is determined by the score. Therefore, explicitly specifying the sorting order with ASC or DESC options is unnecessary and has no effect on the final stored results.
It's a breaking change to remove them, since someone might be calling them and seeing the intended result. Is there any concern with just leaving them as is and just documenting that they don't have any effect?
The
GEOSEARCHSTORE
command in Valley currently supports theASC
andDESC
options, which are used to specify the sorting order of the search results. However, in the context ofGEOSEARCHSTORE
, where the results are stored in a sorted set, these options become redundant.When using
GEOSEARCHSTORE
, the results are stored in a sorted set where the order is determined by the score. Therefore, explicitly specifying the sorting order withASC
orDESC
options is unnecessary and has no effect on the final stored results.Example:
The text was updated successfully, but these errors were encountered: