聊聊Sphinx和Xapian做索引的区别

108 views
Skip to first unread message

kenneth

unread,
Apr 10, 2013, 11:38:55 AM4/10/13
to pyth...@googlegroups.com
1.Sphinx可以和mysql很好的结合,索引OK,这个我可以搞定。

2.Xapian如果要对数据库表中内容做全文检索,要如何建索引呢?

求思路或实战经验。

--
http://www.mvmap.com

G_will

unread,
Apr 11, 2013, 12:51:27 AM4/11/13
to pyth...@googlegroups.com
RTFM.


--
--
邮件来自: `CPyUG`华蟒用户组(中文Python技术邮件列表)
规则: http://code.google.com/p/cpyug/wiki/PythonCn
发言: pyth...@googlegroups.com
退订: python-cn+...@googlegroups.com (向此发空信即退!)
详情: http://code.google.com/p/cpyug/wiki/CpyUg
G+: https://plus.google.com/u/0/communities/108786798869709602787
严正: 理解列表! 智慧提问! http://wiki.woodpecker.org.cn/moin/AskForHelp
---
您收到此邮件是因为您订阅了 Google 网上论坛的“python-cn(华蟒用户组,CPyUG 邮件列表)”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 python-cn+...@googlegroups.com
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
 
 

我欲乘风去

unread,
Apr 11, 2013, 11:38:26 AM4/11/13
to pyth...@googlegroups.com
Sphinx写配置,Xapian写代码。
Sphinx非实时,Xapian实时。
Sphinx是svr, Xapian大可看成是lib。

Gaoquan Yan

unread,
Apr 11, 2013, 10:23:55 PM4/11/13
to CPyUG
我现在就在用Sphinx,选择的是用xml做数据源,感觉用它有一个不足的地方是不支持正则哈,

不知道Xapian对搜索查询这块做的怎么样。。。


--

李瑾

unread,
Apr 12, 2013, 3:35:12 AM4/12/13
to pyth...@googlegroups.com
sphinx现在也支持实时了

kenneth

unread,
Apr 12, 2013, 4:38:58 AM4/12/13
to pyth...@googlegroups.com
Xapian代码如何写?比如要搜索数据库的某表,如何做全文搜索呢?
大致的步骤是怎样?

李瑾

unread,
Apr 12, 2013, 9:07:07 AM4/12/13
to pyth...@googlegroups.com
没写过,看看这个项目https://github.com/everydo/zapian
Reply all
Reply to author
Forward
0 new messages