Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
421 views
in Technique[技术] by (71.8m points)

php全文搜索如何做开发成本最低?

php全文搜索如何做开发成本最低?
目前中文粉彩效率太低,大家有其他方案吗?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

限定到php中做有点牵强,不容易做出个满足的产品。

如果半用php的话可以考虑sphinx。为什么说是半用呢,原因是sphinx是个独立软件,不是php写的,但是有php api可以直接调用。

如果想实现的完美些,可是看看elastic search 基于lucene的,有很多分词器可用。本身是api调用的,也好用。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...