Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

PilosaDriver: Implement SetOperations and Mergeable interfaces on IndexLookup #212

Closed
ajnavarro opened this issue Jun 13, 2018 · 0 comments · Fixed by #281
Closed

PilosaDriver: Implement SetOperations and Mergeable interfaces on IndexLookup #212

ajnavarro opened this issue Jun 13, 2018 · 0 comments · Fixed by #281
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ajnavarro
Copy link
Contributor

To allow the use of several indexes of the same type, we need to implement this interfaces on the actual PilosaDriver index implementation.

@ajnavarro ajnavarro added the enhancement New feature or request label Jun 13, 2018
@ajnavarro ajnavarro added this to the Index-2 milestone Jun 13, 2018
@kuba-- kuba-- self-assigned this Jul 4, 2018
ajnavarro pushed a commit that referenced this issue Jul 12, 2018
)

This PR. Implements 2 interfaces (Mergeable and SetOperations) for following lookups:

- indexLookup
- ascendLookup
- descendLookup

It closes: #212

simplified example:
    unionLookup := lookup0.Union(lookup1, lookup2)
    ascLookup := pilosaIdx.AscendLessThan(keys...) 
    diffLookup := ascLookup.Difference(unionLookup)

Signed-off-by: kuba-- <kuba@sourced.tech>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants