Tomas,
It seems that the _ALLRECORDS is not supported, according to
http://www.indexdata.com/zebra/doc/querymodel-zebra.html is experimental. But doesn't give an alternative.
yaz-client -c ./etc/zebradb/ccl.properties unix:/home/vagrant/koha-dev/var/run/zebradb/bibliosocket
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID : 81
Name : Zebra Information Server/GFS/YAZ
Version: 4.2.30 98864b44c654645bc16b2c54f822dc2e45a93031
Options: search present delSet triggerResourceCtrl scan sort extendedServices namedResultSets
Elapsed: 0.003370
Z> base biblios
Z> find @attr 1=_ALLRECORDS @attr 2=103 ""
Sent searchRequest.
Received SearchResponse.
Search was a bloomin' failure.
Number of hits: 0, setno 1
Result Set Status: none
records returned: 0
Diagnostic message(s) from database:
[114] Unsupported Use attribute -- v2 addinfo '_ALLRECORDS'
Elapsed: 0.004522
Server log is this:
13:45:40-22/09 [log] zebra_start 2.0.44 419ad759807269fdfa379799a051ed3a551c6541
17:05:29-22/09 zebrasrv(12) [session] Session - OK 12 unix:/home/vagrant/koha-dev/var/run/zebradb/bibliosocket 31001
17:05:29-22/09 zebrasrv(12) [request] Auth none
17:05:29-22/09 zebrasrv(12) [request] Init OK - ID:81 Name:YAZ Version:4.2.30 98864b44c654645bc16b2c54f822dc2e45a93031
17:05:50-22/09 zebrasrv(12) [request] Search biblios ERROR 114 1 1+0 RPN @attrset Bib-1 @attr 2=103 @attr 1=_ALLRECORDS ""
Regards.