标签和内容的搜索算法
我正在设计一个标签系统,并且正在寻找一个好的搜索算法。它必须同时考虑标签和文本内容,也许可以根据我的需要更加重视标签或内容。文献中有类似的东西吗?这是我第一次使用这样的系统,因此简单且流行的解决方案也适合。
感谢您抽出时间。
i'm designing a tag system and i'm looking for a good search algorithm. It must consider both tags and text contents, maybe with the possibility to give more importance to tag or to contents according to my needs. Is there anything similar in the literature? It's my first time working on such a system, so easy and popular solutions could fit too.
Thank you for your time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可以在 MySQL 中实现这一点,但我认为值得考虑专门的全文搜索应用程序来实现您想要实现的目标。它们中的大多数处理标签(通常称为属性),因为这是常见的用例。
我建议查看以下内容:
It would be possible to implement this within MySQL but I think it would be worth looking at dedicated full text search applications for what you're trying to achieve. Most of them handle tags (usually referred to as attributes) as this is a common use case.
I'd recommend looking at the following: