Insert/Write:
PUT /collections/rentals/points
{
"batch": {
"ids": [1, 2],
"vectors": [
[0.9, -0.5, ..., 0.0],
[0.1, 0.4, ..., 0.3],
],
"payload": [
{"city": "Bangalore", "sqft": 990, "img_url": "example.com/rental1.jpg", "tags": ["..."]},
{"city": "Hyderabad", "sqft": 1550, "img_url": "example.com/rental2.jpg", "description": "..."},
]
}
}
-
INSERT INTO rentals VALUES |
(1, ARRAY[0.9, -0.5, ..., 0.0], 'Bangalore', 990, 'example.com/rental1.jpg', ARRAY['...'], NULL)
(2, ARRAY[0.1, 0.4, ..., 0.3], 'Hyderabad', 1550, 'example.com/rental2.jpg', NULL, '...')