z395_search.pl takes 20 seconds to retrieve data based on an ISBN
Dear All, I would like to know if I can in anyway increase the speed of the Z39.50 Search Engine?. We are only connecting to OCLC, and no other Libraries are checked before searching. Searching based on ISBN takes close 10 seconds to produce data [With 2 result sets being returned so not a lot] Please help, as the Library director is breathing down my neck. Regards,
2010/5/4 Susan Mustafa <susan.mustafa@gmail.com>:
Dear All,
I would like to know if I can in anyway increase the speed of the Z39.50 Search Engine?. We are only connecting to OCLC, and no other Libraries are checked before searching.
Searching based on ISBN takes close 10 seconds to produce data [With 2 result sets being returned so not a lot]
Please help, as the Library director is breathing down my neck.
Hi Susan Have you tried searching OCLC using yaz-client on the commandline .. is that the same delay? Chris
No I haven't, Can you direct me on what the command should be like? If i am to search by ISBN. Regards, On Tue, May 4, 2010 at 3:25 PM, Chris Cormack <chris@bigballofwax.co.nz>wrote:
2010/5/4 Susan Mustafa <susan.mustafa@gmail.com>:
Dear All,
I would like to know if I can in anyway increase the speed of the Z39.50 Search Engine?. We are only connecting to OCLC, and no other Libraries are checked before searching.
Searching based on ISBN takes close 10 seconds to produce data [With 2 result sets being returned so not a lot]
Please help, as the Library director is breathing down my neck.
Hi Susan
Have you tried searching OCLC using yaz-client on the commandline .. is that the same delay?
Chris
Susan, Assuming you have the Yaz-client installed, you can connect to OCLC like this: ~$yaz-client zcat.oclc.org:210/olucworldcat -u username/password If successful, this will report something like below and take you to the yaz prompt: Authentication set to Open (user/password) Connecting...OK. Sent initrequest. Connection accepted by v3 target. ...... Then from the Yaz prompt: Z>f @attr 1=7 9780226895109 Sent searchRequest. Received SearchResponse. Search was a success. Number of hits: 2, setno 5 Result Set Status: 0 records returned: 0 Elapsed: 0.143152 Z>show 1 Which will display the record. Hope this helps, Ted 2010/5/4 Susan Mustafa <susan.mustafa@gmail.com>:
No I haven't,
Can you direct me on what the command should be like? If i am to search by ISBN.
Regards,
On Tue, May 4, 2010 at 3:25 PM, Chris Cormack <chris@bigballofwax.co.nz> wrote:
2010/5/4 Susan Mustafa <susan.mustafa@gmail.com>:
Dear All,
I would like to know if I can in anyway increase the speed of the Z39.50 Search Engine?. We are only connecting to OCLC, and no other Libraries are checked before searching.
Searching based on ISBN takes close 10 seconds to produce data [With 2 result sets being returned so not a lot]
Please help, as the Library director is breathing down my neck.
Hi Susan
Have you tried searching OCLC using yaz-client on the commandline .. is that the same delay?
Chris
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Hi Ted, I don't have Yaz, or at least I don't think so. Kindly note that once I do yaz-client I get ============ mistuser@MIST-KOHA-01_prod:~$ yaz-client The program 'yaz-client' is currently not installed. You can install it by typing: sudo apt-get install yaz bash: yaz-client: command not found ============== Then I do sudo apt-get install yaz which in turns causes trouble. IT wants to remove VERY important packages...that KOHA will fail without. Kindly note the below: ====================== Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: gcj-4.3-base lp-solve libneon26 libnfsidmap2 libgcj9-0 libgcj-bc openoffice.org-java-common libgfortran3 liblog4j1.2-java-gcj bsh-gcj libregexp-java libjaxp1.3-java-gcj java-common liblog4j1.2-java libevent1 libsuitesparse-3.1.0 python2.4 libxerces2-java-gcj gij-4.3 libbcel-java blt libtime-modules-perl librpcsecgss3 bsh libgcj-common libjaxp1.3-java libssl-dev java-gcj-compat-headless libjline-java libgcj9-jar libxerces2-java java-gcj-compat libwrap0-dev libxalan2-java libblas3gf tcl8.5 liblapack3gf libgcj9-0-awt fastjar tk8.4 tk8.5 libdb4.4 libgssglue1 portmap nfs-common libnss3-0d libmx4j-java libxalan2-java-gcj Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libyaz3 The following packages will be REMOVED: idzebra libyaz libyaz-dev The following NEW packages will be installed: libyaz3 yaz 0 upgraded, 2 newly installed, 3 to remove and 114 not upgraded. Need to get 1041kB of archives. After this operation, 3052kB disk space will be freed. Do you want to continue [Y/n]? ====================================== So I press [NO] because I don't want it to remove idzebra libyaz libyaz-dev Kindly help :) Thank you all, On Tue, May 4, 2010 at 4:38 PM, Ted Lawless <lawlesst@gmail.com> wrote:
Susan,
Assuming you have the Yaz-client installed, you can connect to OCLC like this:
~$yaz-client zcat.oclc.org:210/olucworldcat -u username/password
If successful, this will report something like below and take you to the yaz prompt:
Authentication set to Open (user/password) Connecting...OK. Sent initrequest. Connection accepted by v3 target. ......
Then from the Yaz prompt:
Z>f @attr 1=7 9780226895109 Sent searchRequest. Received SearchResponse. Search was a success. Number of hits: 2, setno 5 Result Set Status: 0 records returned: 0 Elapsed: 0.143152 Z>show 1
Which will display the record.
Hope this helps,
Ted
2010/5/4 Susan Mustafa <susan.mustafa@gmail.com>:
No I haven't,
Can you direct me on what the command should be like? If i am to search by ISBN.
Regards,
On Tue, May 4, 2010 at 3:25 PM, Chris Cormack <chris@bigballofwax.co.nz> wrote:
2010/5/4 Susan Mustafa <susan.mustafa@gmail.com>:
Dear All,
I would like to know if I can in anyway increase the speed of the
Z39.50
Search Engine?. We are only connecting to OCLC, and no other Libraries are checked before searching.
Searching based on ISBN takes close 10 seconds to produce data [With 2 result sets being returned so not a lot]
Please help, as the Library director is breathing down my neck.
Hi Susan
Have you tried searching OCLC using yaz-client on the commandline .. is that the same delay?
Chris
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Good day all, First thank you Ted for explaining about the Yaz Client. I tested on my windows machine, which has no Koha installed but on the same network as the Koha server, and the records were found and retrieved very quickly. Now this makes me think that perhaps it is a proxy issue on ubuntu or not. I remember I had to add a proxy on some other ubuntu servers. I will give it a try. For those who may experience such problem, kindly follow the code below to see if it is fast to retrieve. Z> authentication username/password Authentication set to Open (username/password) Z> open zcat.oclc.org:210/OLUCWorldCat Connecting..OK. Sent initrequest. Connection acccepted by V3 Target. ... .. .. .. .. .. Z>f @attr 1=7 isbnnumberhere Sent searchRequest. Received SearchResponse. Search was a success. Number of hits: xx Z> show 1 <--To show the first resultset. I will now go and see why my ubuntu is slow. Thank you all, Regards, On Tue, May 4, 2010 at 4:38 PM, Ted Lawless <lawlesst@gmail.com> wrote:
Susan,
Assuming you have the Yaz-client installed, you can connect to OCLC like this:
~$yaz-client zcat.oclc.org:210/olucworldcat -u username/password
If successful, this will report something like below and take you to the yaz prompt:
Authentication set to Open (user/password) Connecting...OK. Sent initrequest. Connection accepted by v3 target. ......
Then from the Yaz prompt:
Z>f @attr 1=7 9780226895109 Sent searchRequest. Received SearchResponse. Search was a success. Number of hits: 2, setno 5 Result Set Status: 0 records returned: 0 Elapsed: 0.143152 Z>show 1
Which will display the record.
Hope this helps,
Ted
2010/5/4 Susan Mustafa <susan.mustafa@gmail.com>:
No I haven't,
Can you direct me on what the command should be like? If i am to search by ISBN.
Regards,
On Tue, May 4, 2010 at 3:25 PM, Chris Cormack <chris@bigballofwax.co.nz> wrote:
2010/5/4 Susan Mustafa <susan.mustafa@gmail.com>:
Dear All,
I would like to know if I can in anyway increase the speed of the
Z39.50
Search Engine?. We are only connecting to OCLC, and no other Libraries are checked before searching.
Searching based on ISBN takes close 10 seconds to produce data [With 2 result sets being returned so not a lot]
Please help, as the Library director is breathing down my neck.
Hi Susan
Have you tried searching OCLC using yaz-client on the commandline .. is that the same delay?
Chris
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (3)
-
Chris Cormack -
Susan Mustafa -
Ted Lawless