Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Shakeeb on March 03, 2010, 08:16:10 AM

Title: UCS Search: Only 100 Returned interaction.
Post by: Shakeeb on March 03, 2010, 08:16:10 AM
Hi All,

I am developing a custom reporting application for Chat, where I actually need to search for interactions between a date range.

The search is running ok but I are getting only 100 results back from the UCS, the found documents are more than 100.

I am using RequestSearch method of UCS ver. 8.0
The Maxresults value is set to 10000 in the code as well as in the CME UCS object.

Is there a limitation in the UCS which returns only 100 results?

Please help, we are in the closing stages of the project.

Shakeeb Anwar
Title: Re: UCS Search: Only 100 Returned interaction.
Post by: René on March 03, 2010, 09:08:25 AM
Hi,

Have you checked UCS log? What version of Universal Contact Server do you have?

R.
Title: Re: UCS Search: Only 100 Returned interaction.
Post by: Shakeeb Anwar on March 05, 2010, 10:19:17 PM
Hi,

UCS Version is 8.0
Yeah we have search the UCS logs, here is what we found,

13:11:10.125 Trc 29998 [hck-UCS_DAP] <IdxCfg> interaction setOverwriteExitingIndex:"false"
13:11:10.125 Trc 29998 [hck-UCS_DAP] <IdxCfg> interaction setDescription:"Interactions"
13:11:10.125 Trc 29998 [hck-UCS_DAP] <IdxCfg> interaction setStoragePath:""
[color=red]13:11:10.125 Trc 29998 [hck-UCS_DAP] <IdxCfg> interaction setDefaultMaxResults:"100000"
13:11:10.125 Trc 29998 [hck-UCS_DAP] <IdxCfg> interaction setMaxResults:"100"[/color]
13:11:10.156 Trc 29998 [hck-UCS_DAP] <IdxCfg> interaction setDefaultAnalyzer:"LowerCaseAnalyzer"
13:11:10.156 Trc 29998 [hck-UCS_DAP] <IdxCfg> interaction setScrollPageSize:"200"

We are setting max results to 100000, but we are not able to find from where this value "setMaxResults=100" is comming.
Please help.

Shakeeb Anwar