Support Forums > OD/WEK & JAVA API

Can we adjust the ODWek REST max hits

(1/1)

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

Andreas Baaserud Hauge:
ups noticed I put this under wrong topic..
Maybe some moderator can move this topic to the correct topic.

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.

Justin Derrick:
Moved to the ODWEK/Java API Board.

Navigation

[0] Message Index

Go to full version