X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=test%2Fapi%2Ftest_search.c;h=a560e1542e85e8dd5bb12f9bb95c803f442184ce;hp=377d6e7181617593d1a3a7d3236b68b80ba01e63;hb=c5971ebf8a88865ed9a1f7c8cf9daa22544f07be;hpb=e2e073b5c947e996304ed7d577497af5e9a879ee diff --git a/test/api/test_search.c b/test/api/test_search.c index 377d6e7..a560e15 100644 --- a/test/api/test_search.c +++ b/test/api/test_search.c @@ -418,6 +418,9 @@ static void tst(int argc, char **argv) /* N=41 and N=49 get only rec2 */ YAZ_CHECK(tl_query(zh, "@attr 2=3 @attr gils 1=2040 @attr 4=109 \"41 49\" ", 1)); + /* N=41 and N=49, but relevance */ + YAZ_CHECK(tl_query(zh, "@attr 2=102 @attr gils 1=2040 @attr 4=109 \"41 49\" ", 1)); + /* = */ YAZ_CHECK(tl_query(zh, "@attr 1=30 @attr 4=5 @attr 2=3 {2107-09-19 00:00:00}", 1));