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

Create ldb_storage.go #1

Merged
merged 3 commits into from Nov 29, 2015
Merged

Create ldb_storage.go #1

merged 3 commits into from Nov 29, 2015

Conversation

insionng
Copy link

增加Goleveldb存储支持

增加Goleveldb存储支持
增加Goleveldb存储支持(修正)
增加Goleveldb支持
@andeya
Copy link
Owner

andeya commented Nov 29, 2015

@insionng 非常感谢

@insionng
Copy link
Author

你修改后的这个版本存在这个问题吗 huichen#34

@andeya
Copy link
Owner

andeya commented Nov 29, 2015

没问题,你遇到什么问题?

@andeya
Copy link
Owner

andeya commented Nov 29, 2015

哦,不好意思,刚才没理解你的意思,内存问题这个版本没有解决,这个需要增加实时读写数据库的方法,其实在这个版本基础上再稍加改动就可以了

@andeya
Copy link
Owner

andeya commented Nov 29, 2015

这个文件的两个全局变量 DocInfoGroup 和 InvertedIndexGroup 仅作为缓存,写个实时读数据的方法,就可以实现了
https://github.com/henrylee2cn/wukong/blob/master/core/data.go#L9

@insionng
Copy link
Author

能不能帮忙解决内存问题 我还没读透代码 不知具体要改哪里比较合适~

@insionng
Copy link
Author

好的 我看看~

@andeya
Copy link
Owner

andeya commented Nov 29, 2015

这几天我解决了告诉你吧,你在这个Go大数据 42731170 群里吗?到时可以方便联系沟通

@insionng
Copy link
Author

@henrylee2cn 已经不怎么上Q,现在都是用微信沟通,可以加我微信探讨,微信号: xiongtuntianxia 或者邮件 insion@live.com,我会时刻关注你这个分支版本的更新~

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