File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
examples/vectorsearch-cities Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ if (NOT TARGET objectbox) # Using "if" in case a (potential) parent project alre
1717 FetchContent_Declare(
1818 objectbox
1919 GIT_REPOSITORY https://github.com/objectbox/objectbox-c.git
20- GIT_TAG v5.0.0-rc3 # For latest versions, check https://github.com/objectbox/objectbox-c/releases
20+ GIT_TAG v5.0.0-rc4 # For latest versions, check https://github.com/objectbox/objectbox-c/releases
2121 )
2222 FetchContent_MakeAvailable(objectbox)
2323
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ table City {
66 /// A 2D vector representing the city's location with latitude and longitude.
77 /// Using the "Geo" distance type, which specializes in geospatial search (haversine distance).
88 /// objectbox: index=hnsw, hnsw-dimensions=2
9- // TODO requires Generator V5: objectbox: hnsw-distance-type=Geo
10- /// objectbox: hnsw-distance-type=Euclidean
9+ /// objectbox: hnsw-distance-type=Geo
1110 location: [float];
1211}
Original file line number Diff line number Diff line change 2727 "flags" : 8 ,
2828 "hnswParams" : {
2929 "dimensions" : 2 ,
30- "distance-type" : " Euclidean "
30+ "distance-type" : " Geo "
3131 }
3232 }
3333 ]
You can’t perform that action at this time.
0 commit comments