I am running the geolocation search with weaviate based on their provided example.
However, I dont seem to be able to run the example with pseudo inputs. Can someone provide me a minimal working example ?
Here is my schema:
{
"class": "RealEstate",
"description": "Real estates up for rental or purchase.",
"moduleConfig": {
"text2vec-transformers": {
"vectorizeClassName": false
}
},
"properties": [
{
"dataType": ["text"],
"description": "A description of the property e.g. number of bathrooms, type of heating etc.",
"name": "description"
},
{
"dataType": ["geoCoordinates"],
"description": "The geocoordinate corresponding to the address",
"name": "coordinates"
}
],
"invertedIndexConfig": {
"stopwords": {
"preset": "en"
},
"indexTimestamps": false,
"indexNullState": false,
"indexPropertyLength": false
},
"vectorizer": "text2vec-transformers"
}
Here is a dummy object I ingest:
dummy_realestate = {
"description": "Dummy house",
"coordinates": {"latitude": 52.366667, "longitude": 4.9},
}
Here is the query:
query = """
{
Get {
RealEstate(where: {
path: ["coordinate"]
operator: WithinGeoRange
valueGeoRange: {
geoCoordinates: {
latitude: 52.5200
longitude: 13.4050
}
distance: {
max: 200
}
}
}) {
description
coordinate {
latitude
longitude
}
}
}
}
"""
query_result = client.query.raw(query)
Finally, here is the error message after querying:
explorer: list class: search: object search at index realestate: shard realestate_qCQXCg5EoW8I: data type "geoCoordinates" not supported yet in standalone mode, see https://www.semi.technology/documentation/weaviate/current/more-resources/architecture.html#standalone-mode-in-022x for details
I am running semitechnologies/weaviate:1.18.0 image with docker-compose and using Python for querying.