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

Cannot aggregate by "chrom" field #167

Open
ravila4 opened this issue Aug 3, 2023 · 0 comments
Open

Cannot aggregate by "chrom" field #167

ravila4 opened this issue Aug 3, 2023 · 0 comments

Comments

@ravila4
Copy link

ravila4 commented Aug 3, 2023

I tried running this query: https://myvariant.info/v1/query?species=human&facets=chrom

It fails with:

search_phase_execution_exception
"Fielddata is disabled on [chrom] in [superhot_hg19_20230505_hozqpqi5_202305251519]. Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [chrom] in order to load field data by uninverting the inverted index. Note that this can use significant memory."

Is there any reason wy chrom is a text field instead of keyword?

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

1 participant