List Info

Thread: not equal relational query




not equal relational query
user name
2006-03-23 11:52:35
I've got a PQF query, that seems to do something a bit off
when I use the
relational type indicator.
ie:
and
attr
1=3 "the" attr 1=3 attr 2=6 cat
This seems to react in just the same way as:
and
attr
1=3 "the" attr 1=3 cat
filtering by exactly the term that you specify...
what exactly does not equal to mean? Does it mean the
document that does not
contain the term, or does it mean give me all the whole
field does not equal
that term? I'm not exactly sure how the relational fields
are supposed to
work, becase it seems to be having a diffirent effect that
what I thought
should happen. I expected it to give me documents that the
specified field
does not contain the words of.

Thanks
Daine.




--
Humans are robots too!



_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
not equal relational query
user name
2006-03-23 12:07:25
Daine Mamacos wrote:
> I've got a PQF query, that seems to do something a bit
off when I use the
> relational type indicator.
> ie:
> and attr 1=3 "the" attr 1=3 attr 2=6
cat
> This seems to react in just the same way as:
> and attr 1=3 "the" attr 1=3 cat
> filtering by exactly the term that you specify...
> what exactly does not equal to mean? Does it mean the
document that does not
> contain the term, or does it mean give me all the whole
field does not equal
> that term? I'm not exactly sure how the relational
fields are supposed to
> work, becase it seems to be having a diffirent effect
that what I thought
> should happen. I expected it to give me documents that
the specified field
> does not contain the words of.
> 
> Thanks
> Daine.
> 

Try
not
attr
1=3 "the" attr 1=3 cat
if you want all documents which have attr 1=3 "the"
and not attr 1=3 cat

not
is a binary operator meaning AND NOT

Marc


> 
> 
> 
> --
> Humans are robots too!
> 
> 
> 
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list


-- 

Marc Cromme, cand. polyt, Ph.D
Senior Developer, Project Manager

Index Data Aps
Købmagergade 43, 2
1150 Copenhagen K.
Denmark

tel: +45 3341 0100
fax: +45 3341 0101

http://www.indexdata.com

INDEX DATA Means Business
for Open Source and Open Standards






_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
not equal relational query
user name
2006-03-23 12:07:25
Daine Mamacos wrote:
> I've got a PQF query, that seems to do something a bit
off when I use the
> relational type indicator.
> ie:
> and attr 1=3 "the" attr 1=3 attr 2=6
cat
> This seems to react in just the same way as:
> and attr 1=3 "the" attr 1=3 cat
> filtering by exactly the term that you specify...
> what exactly does not equal to mean? Does it mean the
document that does not
> contain the term, or does it mean give me all the whole
field does not equal
> that term? I'm not exactly sure how the relational
fields are supposed to
> work, becase it seems to be having a diffirent effect
that what I thought
> should happen. I expected it to give me documents that
the specified field
> does not contain the words of.
> 
> Thanks
> Daine.
> 

Try
not
attr
1=3 "the" attr 1=3 cat
if you want all documents which have attr 1=3 "the"
and not attr 1=3 cat

not
is a binary operator meaning AND NOT

Marc


> 
> 
> 
> --
> Humans are robots too!
> 
> 
> 
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list


-- 

Marc Cromme, cand. polyt, Ph.D
Senior Developer, Project Manager

Index Data Aps
Købmagergade 43, 2
1150 Copenhagen K.
Denmark

tel: +45 3341 0100
fax: +45 3341 0101

http://www.indexdata.com

INDEX DATA Means Business
for Open Source and Open Standards





_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )