Hi Mahmoud,
Have you noticed a negative impact on performance since you edited the
configuration file? Let us know how that's working for you. Thanks!
Best,
Alina
On Monday, June 15, 2020 at 4:12:45 AM UTC-7, Mahmoud Abdelrazek wrote:
>
> Hi everyone,
>
> I have had an issue with an elasticsearch error when loading the main
> search page. The error is as follows:
>
> TransportError at /search/resources TransportError(503,
> 'search_phase_execution_exception', 'Trying to create too many buckets.
> Must be less than or equal to: [10000] but was [15011]. This limit can be
> set by changing the [search.max_buckets] cluster level setting.')
>
> We have uploaded more than 10k entries to one of the resource models which
> seems to be the reason for this error. I did a quick search and found that
> the following command would raise the max buckets limit to 20k which solved
> the problem.
>
> curl -XPUT 127.0.0.1:9200/_cluster/settings -H 'Content-Type:
> application/json' -d '{
> "transient" : {
> "search.max_buckets": 20000
> }
> }'
>
> However, when the server restarted, elasticsearch ran into the same error
> again. This time I edited the configuration file by adding the following
> line
>
> search.max_buckets: 20000
>
> It seems to work fine for now but I am concerned that raising this limit
> might have a negative impact on the performance. Arches handles the
> requests to elasticsearch automatically, so I am not sure how much is this
> relevant.
>
> Did anyone run into the same issue? Any better solutions? and do you think
> this will have an impact on the performance?
>
> Thank you,
> Mahmoud
>
--
-- To post, send email to [email protected]. To unsubscribe, send
email to [email protected]. For more information,
visit https://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/archesproject/e94e8783-e166-4d94-81df-b4f7c5621ab8o%40googlegroups.com.