[Yazlist] baffled by cql, or maybe rec.id

Mike Taylor mike at indexdata.com
Fri Mar 25 22:12:47 CET 2011


On 25 March 2011 18:57, Enrico Silterra <es287 at cornell.edu> wrote:
> with yaz-client, this works fine:
>
> Z> querytype cql
> Z> f rec.id=1001
> Sent searchRequest.
> Received SearchResponse.
> Search was a success.
> Number of hits: 1
> records returned: 0
> Elapsed: 0.013109
>
> however,
>
>  f rec.id=1001 or rec.id=1002
> Sent searchRequest.
> Received SearchResponse.
> Search was a success.
> Number of hits: 10000
> records returned: 0
> Elapsed: 7.358608
>
> this should have been 2 records; instead, it's 10,000
> huh?

That is definitely wrong.  Sounds like an error on the server side.

To be more sure, can you please run this yaz-client with the "-a -"
command-line option that shows the protocol packets, and post the
generated output?

What is the server?



More information about the Yazlist mailing list