none、exact、full_text、bloom 和 skip。该操作需要
streams.configure。Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X PUT http://localhost:5080/api/v1/streams/$STREAM_ID/settings \
-H "authorization: Bearer $MS_JWT" \
-H 'content-type: application/json' \
-d '{
"fields": [
{
"name": "trace_id",
"indexed": true,
"index_type": "exact",
"condition": null,
"sdr_patterns": []
}
]
}'
为数据流中已有字段配置索引行为。
curl -X PUT http://localhost:5080/api/v1/streams/$STREAM_ID/settings \
-H "authorization: Bearer $MS_JWT" \
-H 'content-type: application/json' \
-d '{
"fields": [
{
"name": "trace_id",
"indexed": true,
"index_type": "exact",
"condition": null,
"sdr_patterns": []
}
]
}'
PUT /api/v1/streams/{id}/settings
curl -X PUT http://localhost:5080/api/v1/streams/$STREAM_ID/settings \
-H "authorization: Bearer $MS_JWT" \
-H 'content-type: application/json' \
-d '{
"fields": [
{
"name": "trace_id",
"indexed": true,
"index_type": "exact",
"condition": null,
"sdr_patterns": []
}
]
}'
none、exact、full_text、bloom 和 skip。该操作需要
streams.configure。此页面对您有帮助吗?