[Yazlist] PQF AttributeType Question

Galium ksanders at sandnarrows.com
Wed Oct 10 22:20:15 CEST 2001


Sorry for my confusing post. Yes AttributeType is always a number, new that,
what I meant is that I used to think an attribute type of 1 meant it was a
text type, while say 2 was an integer, etc.

The question is not that attribute type in @attr 1=4 is 1, but rather what
is 1 in refernce too, what does 1 mean, a type of what?

Hope thats a bit clearer.

Thanks again,

Ken

-----Original Message-----
From: yazlist-admin at indexdata.dk [mailto:yazlist-admin at indexdata.dk]On
Behalf Of Adam Dickmeiss
Sent: Wednesday, October 10, 2001 1:58 PM
To: Galium
Cc: yazlist at indexdata.dk
Subject: Re: [Yazlist] PQF AttributeType Question


On Tue, Oct 09, 2001 at 01:45:16PM -0600, Galium wrote:
> In a PQF @attr query what exactly is the AttributeType? I always assumed
it
> was if its a number, text, etc. Not so sure now that I seen a couple
> examples.

Short answer: it's always a number. What examples made you think otherwise?

What follows @attr is the attribute type, the attribute value and an
attribute
set (optional). Format is
   @attr [attributeset] type=value

Examples
   @attr 1=4        (type is 1, value is 4)
   @attr gils 1=2020  (attribute set is gils, type is 1, value is 2020).

See:

http://www.php.net/manual/en/function.yaz-search.php
http://www.indexdata.dk/yaz/yaz-5.php#PQF

>
> Insites appreciated.
>
> Ken Sanderson
>
> _______________________________________________
> Yazlist mailing list
> Yazlist at indexdata.dk
> http://www.indexdata.dk/mailman/listinfo/yazlist

--
Adam Dickmeiss  mailto:adam at indexdata.dk  http://www.indexdata.dk
Index Data      T: +45 33410100           Mob.: 212 212 66
_______________________________________________
Yazlist mailing list
Yazlist at indexdata.dk
http://www.indexdata.dk/mailman/listinfo/yazlist




More information about the Yazlist mailing list