New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvements to geo-coordinate based filtering #4728
Comments
+1 This was unintuitive and masked some issues with other parts of our retrieval stack; from the documentation I assumed that a |
Please fix this issue it renders using maps in any mobile app with Weaviate under the hood useless. Make the expected behavior actually work (expand the geo radius as you make the max distance parameter bigger) Test it for yourselves it's horrible 👨🥹 |
Hey @crispyadmin I understand this is a frustrating issue but let's keep the discussion constructive :). In the meantime, a workaround might be to use geohashing, and then to use filters such as Note that due to how filters work, substring matches (i.e. Here is a brief explanation of geohashing. https://medium.com/@bkawk/geohashing-20b282fc9655 |
can you show a code example of how I would use geohashing with the client? Sorry geo hashing is quite new to me. So i would convert lat and long to the geohash and then what field am I filtering on in my Weaivate Cluster? Would i still be using my geo field? |
The geohash would be a string, where the longer the matched string the smaller the area is. In the articled that I linked to above, “9q8y” and “9q8z" are subsets of the “9q8” area. |
Describe your feature request
Challenge
Current implementation of the geo-coordinate filtering uses a vector search. A limitation of the implementation is that the size of the list is fixed to 800.
This limits usefulness of filter when combined with other parameters, as the geo-coordinate search does not accept an allow list, and also it is carried out before being used as an allow list for any subsequent searches.
Proposal
Code of Conduct
The text was updated successfully, but these errors were encountered: