Skip to content
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

5.5版本 关键词搜索结果与关键词无关 #382

Open
jimmysea111 opened this issue Jan 18, 2025 · 3 comments
Open

5.5版本 关键词搜索结果与关键词无关 #382

jimmysea111 opened this issue Jan 18, 2025 · 3 comments
Assignees
Labels
功能异常(bug) 需要修复的问题 确认问题(confirm) 未来将会修复问题

Comments

@jimmysea111
Copy link

No description provided.

Copy link

dosubot bot commented Jan 18, 2025

Hi @jimmysea111! I'm here to help you with any bugs, questions, or contributions you have. Let's work together to solve this issue.

在版本 5.5 中,关键词搜索功能的实现逻辑涉及多个继承自 BaseSearch 的类,每个类代表不同类型的搜索(如 General、Video、User、Live),并包含特定的搜索参数[1]。如果搜索结果与关键词无关,可能需要检查以下几点:

  1. 参数设置:确保在创建搜索对象时,所有参数(如 keywordsort_type 等)都正确设置,并符合预期的搜索条件。

  2. 参数验证:代码中使用了验证器来确保参数是整数,即使是以字符串形式提供的[1]。确认参数类型和值是否正确。

  3. 搜索逻辑:搜索查询是通过 Search 类构建和处理的,该类使用多个参数来配置搜索查询[2]。检查这些参数的默认值和设置是否符合预期。

如果问题仍然存在,可能需要进一步调试代码,查看是否有逻辑错误或其他影响搜索结果的因素。

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@jimmysea111
Copy link
Author

检查了以上,未发现问题,试了其他关键词,还是有问题

@JoeanAmier JoeanAmier self-assigned this Jan 18, 2025
@JoeanAmier JoeanAmier added 功能异常(bug) 需要修复的问题 确认问题(confirm) 未来将会修复问题 labels Jan 18, 2025
@JoeanAmier
Copy link
Owner

重复编码关键词导致的问题,近期会修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
功能异常(bug) 需要修复的问题 确认问题(confirm) 未来将会修复问题
Projects
None yet
Development

No branches or pull requests

2 participants