English 中文(简体)
Lucene诉MySQL MyISAM
原标题:Lucene vs MySQL MyISAM

Now, we are using lucene to do search. However, compared with lucene, could we use Mysql MyISAM instead.

使用这些工具有什么好处?

最佳回答

有了卢塞内,你将能够(只有)制定全方位指数,与全方位查询相比,该指数会更好。 牢记这只是一种全方位的搜索,而不是一个全方位的房舍管理处。

另一个搜索引擎是Xapian ,或包装成 rel=“nofollow”>application。 我没有这方面的个人经验,但从我听到的情况来看,收集大量信息是完美的。

问题回答

或许是使用我的智慧的坏想法,因为你可以在你的指数内进行外国关键关系。 搜索案文领域的工作也将比卢塞恩缓慢。

MyISAM FullText搜索并非最可想象的。 某些变化需要重新编造MySQL。

rel=“nofollow”http://dev.mysql.com/doc/refman/5.5/en/fulltext-fine-tuning.html

这一点也有些局限,特别是如果你想把多个领域全面整合起来(你可以说,在全文查询中,“A's foo or field B”有条码。 另一个限制是

我想,Lucene s FullText是更快的,因为Lucene是用来进行这些搜查的。 如果你的数据已经载于MySQL,你可能要尝试MyISAM。 如果你只是想找,就去Lucene。 Lucene还将比MySQL FullText大得多。





相关问题
SQL SubQuery getting particular column

I noticed that there were some threads with similar questions, and I did look through them but did not really get a convincing answer. Here s my question: The subquery below returns a Table with 3 ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

php return a specific row from query

Is it possible in php to return a specific row of data from a mysql query? None of the fetch statements that I ve found return a 2 dimensional array to access specific rows. I want to be able to ...

Character Encodings in PHP and MySQL

Our website was developed with a meta tag set to... <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> This works fine for M-dashes and special quotes, etc. However, I ...

Pagination Strategies for Complex (slow) Datasets

What are some of the strategies being used for pagination of data sets that involve complex queries? count(*) takes ~1.5 sec so we don t want to hit the DB for every page view. Currently there are ~...

Averaging a total in mySQL

My table looks like person_id | car_id | miles ------------------------------ 1 | 1 | 100 1 | 2 | 200 2 | 3 | 1000 2 | 4 | 500 I need to ...

热门标签