OnDemand User Group
Support Forums => OD/WEK & JAVA API => Topic started by: Andreas Baaserud Hauge on March 01, 2023, 04:11:53 AM
-
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
-
ups noticed I put this under wrong topic..
Maybe some moderator can move this topic to the correct topic.
-
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.
-
Moved to the ODWEK/Java API Board.