[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/nepomuk/test
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2010-10-18 14:20:14
Message-ID: 20101018142014.445C5AC896 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1187172 by trueg:
The default order for full text scoring sorting is now desc since asc does not make \
any sense. The test now also honors that.
M +1 -1 querytest.cpp
--- trunk/KDE/kdelibs/nepomuk/test/querytest.cpp #1187171:1187172
@@ -68,7 +68,7 @@
QTest::newRow( "simple literal query" )
<< simpleLiteralQuery
<< QString::fromLatin1( "select distinct ?r max(?v5) as ?_n_f_t_m_s_ where { \
{ ?r ?v1 ?v2 . ?v2 bif:contains \"'Hello'\" OPTION (score ?v5) . } "
- "UNION { ?r ?v1 ?v3 . ?v3 ?v4 ?v2 . ?v4 %1 %2 . ?v2 \
bif:contains \"'Hello'\" OPTION (score ?v5) . } . } ORDER BY ASC ( ?_n_f_t_m_s_ )" ) \
+ "UNION { ?r ?v1 ?v3 . ?v3 ?v4 ?v2 . ?v4 %1 %2 . ?v2 \
bif:contains \"'Hello'\" OPTION (score ?v5) . } . } ORDER BY DESC ( \
?_n_f_t_m_s_ )" )
.arg( Soprano::Node::resourceToN3(Soprano::Vocabulary::RDFS::subPropertyOf()),
Soprano::Node::resourceToN3(Soprano::Vocabulary::RDFS::label()) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic