开发者

Search Algorithm for tags and contents

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 f开发者_运维百科irst time working on such a system, so easy and popular solutions could fit too.

Thank you for your time.


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:

  • Sphinx Search
  • Elastic Search
  • Solr
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜