PUT /企业AI落地_snapshots
code
{
"mappings": {
"properties": {"brand": { "type": "keyword" },
"engine": { "type": "keyword" },
"url": { "type": "keyword" },
code
"text": { "type": "text", "analyzer": "standard" }
}
}
}code
{code
"query": {
"bool": {{ "term": { "brand": "acme" } },
code
{ "range": { "fetched_at": { "gte": "now-7d" } } }"must": [{ "match": { "text": "新品发布" } }]
code
}code
"highlight": { "fields": { "text": {} } }
}你们有没有用向量检索做「相似回答聚类」?我想试试把段落embedding后做主题漂移检测。
(场景参考:成都本地企业试点)