Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

论坛内搜索优化 #8

Open
zhzhzoo opened this issue Jun 18, 2015 · 9 comments
Open

论坛内搜索优化 #8

zhzhzoo opened this issue Jun 18, 2015 · 9 comments

Comments

@zhzhzoo
Copy link
Contributor

zhzhzoo commented Jun 18, 2015

现在的搜索是 select 匹配,存在速度慢和查询能力不强的问题。
所以如果搞新网站,应该在设计的时候就考虑进搜索问题。
这事儿要是自己写好麻烦呀,首先至少得有中文分词。。。。。。。。。。
不过有云端解决方案就是有点儿贵
https://www.google.com/work/search/solutions/
http://www.aliyun.com/product/opensearch/
(要不是工作区不让外人进搜索就交给谷歌了。。。。。

@huxuan
Copy link
Member

huxuan commented Jun 21, 2015

https://github.com/gyllstromk/Flask-WhooshAlchemy/

https://github.com/fxsjy/jieba
应该就够满足我们的需求了

@zhzhzoo
Copy link
Contributor Author

zhzhzoo commented Jun 22, 2015

看起来很好的样子诶~

@JeldorPKU JeldorPKU changed the title 搜索~ 论坛内搜索优化 Jul 10, 2015
@goodman-capu
Copy link

goodman-capu commented Feb 27, 2017

有人考虑这个吗 Solr
Java 的搜索引擎 自带中文分词器 我们只要每次更新数据库的时候触发同步它就行

@JeldorPKU
Copy link
Contributor

Solr 好装配进来么~ @goodman-capu

@huxuan
Copy link
Member

huxuan commented Feb 28, 2017

I am OK to have a better alternative choice.

Just a reminder that, our server side will be written in Python or JavaScript.

@goodman-capu
Copy link

我配过 很方便 其实根本不用装 直接解压文件然后运行一个bash命令他就跑起来了

然后查询 更新数据啥的都可以通过http接口调用,它单独占了一个端口

@goodman-capu
Copy link

goodman-capu commented Feb 28, 2017

@huxuan

Just a reminder that, our server side will be written in Python or JavaScript.

不需要在乎我们的server是怎么写的 其实solr本身就是一个java server,通过http接口访问它的api

@goodman-capu
Copy link

我的solr服务器
放的是维基百科数据,你们可以自己看看,但是不要改数据哦😂(这个界面权限很高的)

@huxuan
Copy link
Member

huxuan commented Feb 28, 2017

如果是一个单独的Service感觉有点重了,还要牵涉到账户权限管理之类的,可能不是太适合的说。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants