TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Isn't MySQL full-text search better than Elasticsearch?

3 点作者 as90将近 2 年前
I have built several apps, but I always use MYSQL search queries to build the search features. I have never felt the need to use Elasticsearch. Can someone enlighten me about the use cases where Elasticsearch becomes irreplaceable? Or is it just nice to have?

1 comment

snikolaev将近 2 年前
MySQL&#x27;s full-text ranking capabilities are quite limited and AFAIK full-text wasn&#x27;t a priority for them lately. The related article is &quot;Rankings with InnoDB Full-Text Search&quot; [1]<p>If it works for you - great. If you need more flexibility in terms of data tokenization, matching and ranking you can consider Manticore Search [1] instead of Elasticsearch since it&#x27;s a continuation (a fork made in 2017) of the Sphinx search engine mentioned in the article on mysql.com and has a better integration with MySQL than Elasticsearch (e.g. you can use Linux mysql client or any programming language mysql connector to make queries to Manticore).<p>[1] <a href="https:&#x2F;&#x2F;dev.mysql.com&#x2F;blog-archive&#x2F;rankings-with-innodb-full-text-search&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;dev.mysql.com&#x2F;blog-archive&#x2F;rankings-with-innodb-full...</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;manticoresoftware&#x2F;manticoresearch">https:&#x2F;&#x2F;github.com&#x2F;manticoresoftware&#x2F;manticoresearch</a>