Can we adjust the ODWek REST max hits

Previous topic - Next topic

Andreas Baaserud Hauge

Hi,

Through ODWek Java Api - ODFolder.setMaxHits(...) we can adjust the max hits.
With ODWek Rest, is it possible to increase the max hits through ODWek Rest ? or is the ODWek Rest limited to max 200 hits?

Thanks in advance
ABH

Andreas Baaserud Hauge

#1
ups noticed I put this under wrong topic..
Maybe some moderator can move this topic to the correct topic.
ABH

Andreas Baaserud Hauge

Guess I found the solution,

In the rest configuration template file(cmod_installation\www\rest\default.tmpl), you have a property called 'maxHits'.
I have adjusted this to maxHits=1000

Created a new connection pool and access keys
Restarted the cmod-rest application

Now I retrieve up to 1000 hits.
ABH

Justin Derrick

Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR