memos
memos copied to clipboard
搜索功能bug
Describe the bug
搜索关键字出来一堆请求,一直在fetching data,搜不出来东西
Steps to reproduce
1.搜索关键字
Expected behavior
立刻出来有关键字的结果,并支持分页展示
Screenshots or additional context
No response
我这边好像无法复现
memos_prod.db.zip 3000条以上memos就会出现503错误,Request timeout
Request URL: http://localhost:5230/api/memo/stats
Request Method: GET
Status Code: 503 Service Unavailable
Remote Address: [::1]:5230
Referrer Policy: strict-origin-when-cross-origin
Request URL: http://localhost:5230/api/memo?rowStatus=NORMAL&limit=20
Request Method: GET
Status Code: 503 Service Unavailable
Remote Address: [::1]:5230
Referrer Policy: strict-origin-when-cross-origin
可复现。
搜索前20条内容包含的关键词时,无此现象。 当前20条内容不包含搜索的关键词时,就会以20条递增请求。
搜索前20条内容包含的关键词时,无此现象。 当前20条内容不包含搜索的关键词时,就会以20条递增请求。
这似乎是一个符合预期的行为?
搜索前20条内容包含的关键词时,无此现象。 当前20条内容不包含搜索的关键词时,就会以20条递增请求。
这似乎是一个符合预期的行为?
不是,预期应该是请求一次就能出来相关结果,如果结果很多的话可以分页加载
搜索前20条内容包含的关键词时,无此现象。 当前20条内容不包含搜索的关键词时,就会以20条递增请求。
这似乎是一个符合预期的行为?
在 Server 端处理好数据后再返回,会不会更好。随着用户使用时间的增加,数据一定会慢慢变多的。
按 3000 条算,需要请求 150 次。每次请求间隔平均 4.5s 左右。不是并发请求,一切正常的话,需要 12 分钟后才能等到结果。
@boojack
Maybe not a bug, but an enhancement with a higher priority?
这个issue应该放在bug标签尽快修复 @Zeng1998
这个问题有计划修复吗 @boojack @Zeng1998
半年多过去了 还没修复这个bug吗😂
Issue is not in English. It has been translated automatically.
More than half a year has passed, has this bug not been fixed yet?
This issue has been fixed on #1730 and #1773