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

Feature: Inverted indexes support #102

Open
marino39 opened this issue Apr 18, 2023 · 1 comment
Open

Feature: Inverted indexes support #102

marino39 opened this issue Apr 18, 2023 · 1 comment

Comments

@marino39
Copy link
Collaborator

At the moment bond Index allows creating a single index entry per row. In order to be able to produce inverted indexes we need to be able to produce multiple index entries per single row e.g. for text search for every single word in the text field.

Use cases:

  1. text search
  2. search within list fields e.g. tags []string
  3. spatial indexes (potentially)
  4. multi-dimensional indexes (potentially)

Required changes:

  1. Indexing logic
  2. Index key builder
@pkieltyka
Copy link
Contributor

btw, I've found https://github.com/nlfiedler/mokuroku which is a Rust library for adding a secondary index to a Rocksdb database. The reason I'm referencing it here is because we're using Pebble which is a Rocksdb impl in Go, and good to see what others have done for adding secondary indexes to LSM databases. The project also makes reference to a few papers on this topic: https://github.com/nlfiedler/mokuroku#references

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