You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Now, if i have some error in elastic while request execution, i'll mostly get only search_phase_execution_exception. Elastic is terrible and very difficult in its configuration, so, some errors can occur due inappropriate configuration only on some specific installation of Vendure.
To get real error i need to do aт investigation each time.
For example:
I get search_phase_execution_exception after adding to search query prices ranges.
Then i look into Vendure source code to understand where there can be error. In current case, there is only one query to elastic, so, i have an idea that while aggregation elastic get too many buckets
I deploy Vendure from source and change config to searchConfig: { priceRangeBucketInterval: 1, }, and than get similar error on default populated data
to get real error Trying to create too many buckets. Must be less than or equal to: [65535] but was [641402]. This limit can be set by changing the [search.max_buckets] cluster level setting.
Describe the solution you'd like
I would like to get real elastic error in Vendure logs.
Describe alternatives you've considered
To configure elastic to log all errors (it's slowly and awful in configuration).
The text was updated successfully, but these errors were encountered:
Izayda
changed the title
Better error output in elasticsearch-plugin
[elasticsearch-plugin] Better error output
Oct 10, 2021
Is your feature request related to a problem? Please describe.
Now, if i have some error in elastic while request execution, i'll mostly get only
search_phase_execution_exception
. Elastic is terrible and very difficult in its configuration, so, some errors can occur due inappropriate configuration only on some specific installation of Vendure.To get real error i need to do aт investigation each time.
For example:
search_phase_execution_exception
after adding to search query prices ranges.searchConfig: { priceRangeBucketInterval: 1, },
and than get similar error on default populated datato get real error
Trying to create too many buckets. Must be less than or equal to: [65535] but was [641402]. This limit can be set by changing the [search.max_buckets] cluster level setting.
Describe the solution you'd like
I would like to get real elastic error in Vendure logs.
Describe alternatives you've considered
To configure elastic to log all errors (it's slowly and awful in configuration).
The text was updated successfully, but these errors were encountered: