开发者

comparative grouping of large text fields - FULLTEXT Search, SOLR, or OTHER?

开发者 https://www.devze.com 2023-03-25 02:32 出处:网络
I have about 150,000 LARGE TEXT fields inside of a mysql database.Each TEXT field represents about 1page of text and will be referred to as a page from here on out.

I have about 150,000 LARGE TEXT fields inside of a mysql database. Each TEXT field represents about 1page of text and will be referred to as a page from here on out.

I would like to group these pages into small groups of very relevant pages. 开发者_开发问答 My thought on how to do this is to use FULLTEXT Index in mysql. I will input blocks of text and have the FULLTEXT search rank relevance to other pages. Is there a limit to how big of a text block you can put into FULLTEXT search?

Are there other ways to do this using PHP/mysql? Do I need to implement a search engine like SOLR?


Although it's handy as a quick fix and for certain niche applications there are a number of issue with mysql's fulltext indexing, particularly around ranking and scalability. I'd recommend implementing a simple keyword lookup search engine

0

精彩评论

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