Replies: 4 comments 2 replies
-
Hello @chaijl! I'm Dosu, a bot here to help you with bugs, answer questions, and support your contributions while you wait for a human maintainer. How can I assist you today? 要提高检索的准确率以便在搜索日期时能够准确匹配标准格式的JSON数据,可以使用以下的日期匹配配置: {
"dt": {
"match_pattern": "regex",
"match": "^.*(_dt|_time|_at)$",
"mapping": {
"type": "date",
"format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||yyyy-MM-dd_HH:mm:ss",
"store": true
}
}
} 这个配置使用正则表达式匹配字段名中包含 To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
@chaijl Hi, I’m the product manager for RAGFlow—thank you for raising this! Improving retrieval accuracy is one of our core priorities.
This context would really help us identify where the precision can be improved. Appreciate your input! |
Beta Was this translation helpful? Give feedback.
-
Relevance has nothing to do with rules. What you wanted is to import Json into traditional databases and perform a SQL filter query. If you want a search(not query) together with rules, you can only specify those relevant fields such as date as dedicate fields within databases. However, RAGFlow does not encapsulate such scenarios because we don't know how to make it as a standard product design. |
Beta Was this translation helpful? Give feedback.
-
We’ll temporarily close this thread for now, but feel free to reopen or submit a new one in English! Thank you for your understanding! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I uploaded a bunch of very standard JSON structured data, one of which is a date with a standard format of 2025-05-17 characters. However, when I searched for the data on May 17th, I found that the first few entries were all blocks containing 17 characters. Is there any way to improve this
我上传一堆很标准的json结构化数据,其中有个数据是日期的,标准的2025-05-17这样格式的字符,但我搜索5月17日的数据,查出来前几条都是那些里面含了17字符的块,这个有什么方法可以提升吗
Beta Was this translation helpful? Give feedback.
All reactions