New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The search fails in REGEXP/SQL with order by relevance #7861
Comments
排序方案使用 请求体 | Request body {
"query": "内容块.*\\d+",
"method": 3,
"types": {
"blockquote": false,
"codeBlock": true,
"document": true,
"embedBlock": false,
"heading": true,
"htmlBlock": true,
"list": false,
"listItem": true,
"mathBlock": true,
"paragraph": true,
"superBlock": false,
"table": true
},
"paths": [],
"groupBy": 1,
"orderBy": 7
} |
已经确认问题,同时也发现另一个问题,即相关度排序是通过 FTS 查询语法实现的(排序字段是 The problem has been confirmed, and another problem has been found, that is, the correlation ranking is implemented through the FTS query syntax (the sorting field is |
正则表达式模式下搜索失效
Is there an existing issue for this?
Can the issue be reproduced with the default theme (daylight/midnight)?
Could the issue be due to extensions?
Describe the problem
使用正则表达式模式进行搜索时无搜索结果, API
/api/search/fullTextSearchBlock
响应体data.blocks
字段值为空数组,data.matchedRootCount
与data.matchedBlockCount
字段值不为0
No search results when searching using regular expression mode, API
/api/search/fullTextSearchBlock
response bodydata.blocks
field value is an empty array,data.matchedRootCount
anddata.matchedBlockCount
field values are not '0'Expected result
API
/api/search/fullTextSearchBlock
响应体data.blocks
字段值为正常的查询结果API
/api/search/fullTextSearchBlock
response bodydata.blocks
field value is normal query resultsScreenshot or screen recording presentation
No response
Version environment
Log file
无有效信息输出
No valid information output
More information
No response
The text was updated successfully, but these errors were encountered: