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

载入索引文件太慢 #56

Open
csrgxtu opened this issue Aug 4, 2016 · 2 comments
Open

载入索引文件太慢 #56

csrgxtu opened this issue Aug 4, 2016 · 2 comments

Comments

@csrgxtu
Copy link

csrgxtu commented Aug 4, 2016

我使用Wukong索引了数据库的一个字段并且将索引的文件存储在本地,然后在搜索阶段载入文件,但是载入相当慢。

@csrgxtu
Copy link
Author

csrgxtu commented Aug 4, 2016

能不能像Lucene那样,虽然我不知道Lucene是如何做到快速载入的。

@huichen
Copy link
Owner

huichen commented Aug 4, 2016

@csrgxtu lucene 可能是直接持久化存储了倒排索引。不过理论上应该不会有数量级的差别,你载入慢可能有其他原因,看看是不是其他模块的 IO 比较慢。

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

No branches or pull requests

2 participants