Files
ragflow/conf/doc_meta_es_mapping.json
qinling0210 9a5208976c Put document metadata in ES/Infinity (#12826)
### What problem does this PR solve?

Put document metadata in ES/Infinity.

Index name of meta data: ragflow_doc_meta_{tenant_id}

### Type of change

- [x] Refactoring
2026-01-28 13:29:34 +08:00

30 lines
487 B
JSON

{
"settings": {
"index": {
"number_of_shards": 2,
"number_of_replicas": 0,
"refresh_interval": "1000ms"
}
},
"mappings": {
"_source": {
"enabled": true
},
"dynamic": "runtime",
"properties": {
"id": {
"type": "keyword",
"store": true
},
"kb_id": {
"type": "keyword",
"store": true
},
"meta_fields": {
"type": "object",
"dynamic": true
}
}
}
}