Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fixed es mapping (#3643)

Zhichang Yuf6c3d7ccf6c8
diff --git a/conf/mapping.json b/conf/mapping.json
index b4331f2be1..7f8c4e27e9 100644
--- a/conf/mapping.json
+++ b/conf/mapping.json
@@ -130,7 +130,8 @@
},
{
"string": {
- "match": "*_(with_weight|list)$",
+ "match_pattern": "regex",
+ "match": "^.*_(with_weight|list)$",
"mapping": {
"type": "text",
"index": "false",