Question

Include start number and row number in the Elastic Search query

Hello,

As we all know that pega search engine is based on Apache Lucene search engine library, similar as solr search engine.

In solr we used to have 2 parameters to the query that we send in the Elastic search called:

  • start,rows

When specified, the start parameter specifies an offset into a query’s result set and instructs Solr to begin displaying results from this offset.

when the rows parameter is specified,it's used to paginate results from a query. The parameter specifies the maximum number of documents from the complete result set that Solr should return to the client at one time.

Kindly refer to the screenshot attached.

As we know also that the OOTB activity that runs a report definition against the elastic search is as below:

call Rule-Obj-Report-Definition .pxRetrieveSearchData

and has several parameters to fill like the pySearchString, pyReportName, pyReportClassName ...

So the question is If we want to include the start and the row number in the above activity as parameter is it supported? and what is the params that we should fill in.

Thanks,

Joseph

Comments

Keep up to date on this post and subscribe to comments

October 9, 2019 - 6:07am

what is your pega vesion? Since 7.1.7 Pega has introduced elasticsearch to replace lucene search.

October 16, 2019 - 1:20am
Response to KevinZheng_GCS

Hello,

It's pega 8.2.1.

Thanks,