Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Support full text search #25

Closed
tieubao opened this issue Oct 16, 2014 · 4 comments
Closed

Support full text search #25

tieubao opened this issue Oct 16, 2014 · 4 comments

Comments

@tieubao
Copy link

tieubao commented Oct 16, 2014

Hi @SalomonBrys, thank you for reading my issue. In case you are working on new pull request, can I ask you a favor for adding full text search to snappydb. It will be great if snappydb has this feature.

Best regards.

@SalomonBrys
Copy link
Contributor

Hi @tieubao,
SnappyDB is "just" an Android Java wrapper around google's C++ library LevelDB. The way LevelDB work does not allow for FTS. Objects are serialized inside the store and just treated as BLOBs.

I can only recommend using a different store for FTS, either using SQLite for FTS only or using a recognized FTS library like Lucene. It depends on the capabilities you need (SQLite is easier but less powerful).

I don't think that SnappyDB will ever implement Full Text Search, sorry.

@tieubao
Copy link
Author

tieubao commented Oct 16, 2014

Thank you for your reply @SalomonBrys . First time hear about Lucene, I think I will give it a try.

@tieubao tieubao closed this as completed Oct 16, 2014
@tieubao
Copy link
Author

tieubao commented Oct 30, 2014

@SalomonBrys can you give it a try to support full-text search on keys?

@tieubao tieubao reopened this Oct 30, 2014
@SalomonBrys
Copy link
Contributor

No.
As I have said, I don't think it is possible. LevelDB is certainly not made for.
I don't even see how this could be possible technically.

@tieubao tieubao closed this as completed Nov 8, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants