- Article Type: General
- Product: Aleph
- Product Version: 16.02
Can the number of output records be specified in Z39.50 server per user? Is this something that can be done in the Z39.50 tables or in the YAZ server? Example, user Z39_A can only dump 20 records while user Z39_Y can print 1000. Thanks for your help.
First, there is currently no way to set different result set limits on Z39.50 searches by user. There is just a single limit for all. This limit is actually the same as the limit used on searches done in the GUI. The default is 1000 hits. This can be increased to a value up to 20000. The parameter (set_result_set_limit) is set in the pc_server_defaults table, located in $alephe_root. This environmental variable would look like this, for example:
setenv set_result_set_limit 5000
This would raise the limit to 5000. If you don't currently have an entry for set_result_set_limit in your table, the default is being used.
You should be aware that increasing will have an effect on performance for both the z39_server and the pc_server, so you should do some testing if you plan to increase it.
- Article last edited: 10/8/2013