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

Problem: lack of indexing primitives #196

Open
yrashk opened this issue Mar 21, 2017 · 1 comment
Open

Problem: lack of indexing primitives #196

yrashk opened this issue Mar 21, 2017 · 1 comment
Assignees

Comments

@yrashk
Copy link
Contributor

yrashk commented Mar 21, 2017

Even though indexing primitives are promised in our documentation, we haven't published them yet, leaving this to users.

Proposed solution: before addressing particular index types (equality, ordered, etc.), design a common approach to defining indices. Aspects that I can think of:

  • How explicit every occurrence of indexing is? Should we require manual indexing on every recording or should the indexing subsystem "know" how to index a particular key?
  • How do we deal with indexing values that were already added?
  • How do we deal with pausing and resuming indexing?

It's likely that the system can be designed in a layered fashion with bare indexing primitives at the bottom and more high level functionality resting atop of it.

This is very likely to end up being an RFC.

@yrashk yrashk added this to the 0.2.0 ("Wee-Be-Little") milestone Mar 21, 2017
@yrashk yrashk self-assigned this Mar 21, 2017
@yrashk
Copy link
Contributor Author

yrashk commented Apr 9, 2017

I was recently discussing this topic with @stuarth and we might need to remove this from the 0.2 milestone (as in "adding indexing primitives to PumpkinDB in a form of code") and write a chapter on indexing methods in the documentation instead, until we can figure out the proper API and (possibly) write an RFC. The documentation itself should probably be targeted for 0.2 anyway (in this case, the issue can stay assigned to that milestone)

@yrashk yrashk modified the milestone: 0.2.0 ("Wee-Be-Little") May 16, 2017
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

1 participant