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
This is a pretty basic example I put together based on the docs, but these commands yield zero search results...
FT.CREATE GeoTest SCHEMA name TEXT place GEO
FT.ADD GeoTest 158ce9ce941bce 1 FIELDS name Foo place Washington D.C. -77.0366 38.8977
FT.SEARCH GeoTest Foo GEOFILTER place -77.0366 38.8977 1 km
I think there's a problem in the way you are inserting - first of all, place can only be lon,lat. Second you need to quote multi word expressions. So it should be:
FT.ADD GeoTest 158ce9ce941bce 1 FIELDS name "Foo" place "-77.0366 38.8977"
If you want the place name add it in a different field.
Activity
dvirsky commentedon Mar 19, 2017
I think there's a problem in the way you are inserting - first of all, place can only be lon,lat. Second you need to quote multi word expressions. So it should be:
If you want the place name add it in a different field.
ethan-tr commentedon Mar 19, 2017
That makes much more sense. Thanks!
dvirsky commentedon Mar 19, 2017
@ethan-tr what language are you working with? Both Python and Java have clients that encapsulate those things for you.
ethan-tr commentedon Mar 20, 2017
I am putting together a PHP client - https://github.com/ethanhann/redisearch-php
dvirsky commentedon Mar 20, 2017
Wow! looks awesome, very nice API! I'm very happy to see this. Mind if I share it?
ethan-tr commentedon Mar 20, 2017
Thanks. I feel like it it is coming together nicely. Feel free to share.
itamarhaber commentedon Mar 20, 2017
@ethan-tr totally awesome + double points for the documentation 💯
mstaack commentedon Mar 20, 2017
this is great
Replace C++ POC with Rust POC (#66)
refactor FullTermDocument* into term::Document term::Metadata term::b…
cmake pybind (RediSearch#34)