Bingyi Sun
b59555057d
feat: support json index ( #36750 )
...
https://github.com/milvus-io/milvus/issues/35528
This PR adds json index support for json and dynamic fields. Now you can
only do unary query like 'a["b"] > 1' using this index. We will support
more filter type later.
basic usage:
```
collection.create_index("json_field", {"index_type": "INVERTED",
"params": {"json_cast_type": DataType.STRING, "json_path":
'json_field["a"]["b"]'}})
```
There are some limits to use this index:
1. If a record does not have the json path you specify, it will be
ignored and there will not be an error.
2. If a value of the json path fails to be cast to the type you specify,
it will be ignored and there will not be an error.
3. A specific json path can have only one json index.
4. If you try to create more than one json indexes for one json field,
sdk(pymilvus<=2.4.7) may return immediately because of internal
implementation. This will be fixed in a later version.
---------
Signed-off-by: sunby <sunbingyi1992@gmail.com>
2025-02-15 14:06:15 +08:00
..
2024-12-17 19:16:44 +08:00
2024-09-10 15:23:06 +08:00
2024-07-26 18:07:53 +08:00
2025-01-20 20:27:23 +08:00
2024-10-17 22:15:25 +08:00
2024-08-23 12:35:02 +08:00
2024-12-04 20:50:39 +08:00
2024-12-04 20:50:39 +08:00
2023-09-21 09:45:27 +08:00
2023-09-21 09:45:27 +08:00
2023-09-21 09:45:27 +08:00
2023-10-26 19:06:13 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2024-12-23 18:24:48 +08:00
2024-12-23 18:24:48 +08:00
2025-01-10 10:49:01 +08:00
2024-11-18 10:46:31 +08:00
2024-11-18 10:46:31 +08:00
2024-10-22 10:33:26 +08:00
2024-10-22 10:33:26 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2025-02-13 18:54:14 +08:00
2025-02-13 18:54:14 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2025-02-14 18:00:14 +08:00
2025-02-14 18:00:14 +08:00
2023-12-12 10:36:43 +08:00
2024-05-22 15:57:39 +08:00
2025-01-10 10:49:01 +08:00
2025-01-17 16:25:04 +08:00
2025-02-07 14:10:45 +08:00
2024-10-23 11:29:28 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2024-12-04 20:50:39 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2024-12-17 09:08:46 +08:00
2024-11-18 18:22:30 +08:00
2025-02-14 12:04:13 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2024-12-14 22:36:44 +08:00
2021-11-16 15:41:11 +08:00
2024-08-05 18:48:15 +08:00
2024-08-22 17:24:58 +08:00
2025-01-17 16:25:04 +08:00
2025-01-17 16:25:04 +08:00
2025-01-10 10:49:01 +08:00
2025-02-07 11:14:43 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2025-01-24 14:05:13 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2023-09-21 09:45:27 +08:00
2023-10-20 14:26:09 +08:00
2024-12-14 23:24:51 +08:00
2024-12-14 23:24:51 +08:00
2024-12-14 22:36:44 +08:00
2024-12-14 22:36:44 +08:00
2025-01-23 14:27:27 +08:00
2024-09-13 17:05:15 +08:00
2025-01-10 10:49:01 +08:00
2023-04-14 15:30:29 +08:00
2024-09-20 11:59:10 +08:00
2024-12-14 22:36:44 +08:00
2025-01-15 09:48:59 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2024-11-18 18:22:30 +08:00
2024-11-18 18:22:30 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2024-07-20 23:13:40 +08:00
2024-07-30 15:53:51 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2024-12-14 22:36:44 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2025-02-15 14:06:15 +08:00
2024-12-14 22:36:44 +08:00
2025-02-07 14:10:45 +08:00
2025-02-07 14:10:45 +08:00
2024-11-12 10:30:28 +08:00
2024-12-14 22:36:44 +08:00
2025-01-15 09:48:59 +08:00
2025-01-15 09:48:59 +08:00
2025-01-10 10:49:01 +08:00
2024-12-14 22:36:44 +08:00
2025-01-24 14:23:06 +08:00
2025-01-24 14:23:06 +08:00
2025-01-10 10:49:01 +08:00
2025-01-10 10:49:01 +08:00
2025-01-24 14:23:06 +08:00
2024-11-27 10:02:35 +08:00
2025-02-07 14:10:45 +08:00
2025-02-07 14:10:45 +08:00
2025-02-07 14:10:45 +08:00
2023-09-21 09:45:27 +08:00
2025-01-10 10:49:01 +08:00
2023-11-27 20:14:26 +08:00
2023-11-28 15:32:31 +08:00
2021-12-23 21:44:12 +08:00
2025-02-14 18:28:13 +08:00
2025-02-06 17:11:51 +08:00
2025-01-14 20:43:06 +08:00
2025-01-23 10:01:04 +08:00