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

Allow filter by VariantId using SampleIndex #1877

Open
j-coll opened this issue Jan 17, 2022 · 0 comments
Open

Allow filter by VariantId using SampleIndex #1877

j-coll opened this issue Jan 17, 2022 · 0 comments

Comments

@j-coll
Copy link
Member

j-coll commented Jan 17, 2022

The fastest way of filtering by a small set of variants is going directly to the HBase table. This assumption was made initially to discard/postpone the variantId filtering using the SampleIndex.
This assumption is not that true when you're filtering also by other positional filters, like Region or Gene (which is, ultimately, a region filter as well). In this case, the query won't use the SampleIndex, but the SecondaryIndex (Solr). This approach is still correct, but slower, and with a poor approximated count.

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