- init_data(zh, myrec);
- do_query(__LINE__, zh, "@attr 1=any the", 3);
- do_query(__LINE__, zh, "@attr 1=any {the art}", 1);
- do_query(__LINE__, zh, "@attr 1=any {den gamle}", 0);
- do_query(__LINE__, zh, "@attr 1=any {the gamle}", 1);
- do_query(__LINE__, zh, "@attr 1=any {the of}", 0);
+ YAZ_CHECK(tl_init_data(zh, myrec));
+
+ YAZ_CHECK(tl_query(zh, "@attr 4=3 @attr 1=any the", 3));
+ YAZ_CHECK(tl_query(zh, "@attr 4=3 @attr 1=any @and the art", 1));
+ YAZ_CHECK(tl_query(zh, "@attr 4=3 @attr 1=any @and den gamle", 0));
+ YAZ_CHECK(tl_query(zh, "@attr 4=3 @attr 1=any @and the gamle", 1));
+ YAZ_CHECK(tl_query(zh, "@attr 4=3 @attr 1=any @and the of", 0));