Question

How can we change the default max limit of 1000 records returned by Elastic Search

How can we change the default max limit of 1000 records returned by Elastic Search

***Moderator Edit-Vidyaranjan: Updated Platform Capability***

Comments

Keep up to date on this post and subscribe to comments

October 11, 2019 - 12:58pm

What is your Pega version? Also do you mean this internal ES setting:

max_result_window? I checked the default with pega infinity ES: it is default to 10000.

October 14, 2019 - 12:40pm
Response to KevinZheng_GCS

Hi,

We are on 8.2.2. As per rakss reply the default hard coded value is 1000. Even in OOTB UI rules I see the hard coded value - More than 1000 records found.

I was checking if we can have it configured by DSS or have it set to 5K atleast or 10K preferrably.

Pega
October 14, 2019 - 2:15am

Hello Anup,

The limit of 1000 is a purposeful limit set to keep resources in check for search results and is hardcoded in the code for full text search. This cannot be modified or altered as of now.

https://community1.pega.com/community/pega-product-support/question/how-change-number-records-returned-work-object-searchhow

October 14, 2019 - 12:38pm
Response to rakss

Hi,

Our business wants to use the Elastic search feature and some times they have much more than 1000 records in search results.

Is it possible to get a Hot Fix for us which will allow us to set it through a DSS or it can be increased to atleast 5k or preferrably 10K?