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

Error in user queries, display_name mapping or query usage #323

Open
roborourke opened this issue Nov 17, 2021 · 0 comments
Open

Error in user queries, display_name mapping or query usage #323

roborourke opened this issue Nov 17, 2021 · 0 comments
Labels
bug Existing functionality isn't behaving as expected

Comments

@roborourke
Copy link
Contributor

{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"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 [display_name] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"can_match","grouped":true,"failed_shards":[{"shard":0,"index":"ep-examplecom-user","node":"f6_ujmSdT0uPfOiZ0iSOeA","reason":{"type":"illegal_argument_exception","reason":"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 [display_name] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}],"caused_by":{"type":"illegal_argument_exception","reason":"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 [display_name] in order to load field data by uninverting the inverted index. Note that this can use significant memory.","caused_by":{"type":"illegal_argument_exception","reason":"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 [display_name] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}},"status":400}
@roborourke roborourke changed the title Error in user queries Error in user queries, display_name mapping or query usage Nov 17, 2021
@roborourke roborourke added the bug Existing functionality isn't behaving as expected label Nov 17, 2021
@roborourke roborourke changed the title Error in user queries, display_name mapping or query usage Error in user queries, display_name mapping or query usage Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing functionality isn't behaving as expected
Projects
None yet
Development

No branches or pull requests

1 participant