[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: KDE/kdelibs/nepomuk
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2010-09-13 14:59:57
Message-ID: 20100913145957.1E6A7AC887 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1174908 by trueg:
CAUTION: This commit breaks BC! Everybody recompile kdebase/runtime
A few news on queries:
* As already mentioned in my blog the query API can now report search excerpts for \
full text queries. These are accessible via Result::excerpt()
* If a query contains a non-optional ResourceTypeTerm the user visibility expression \
is omitted. Thus, it is easily possible to query properties or classes using the \
query API.
* Full text scoring (accessible via Result::score()) is now optional and can only be \
activated in combination with sorting, i.e. when full text scores are activated via \
Query::setFullTextScoresEnabled() the results will automatically be sorted using \
that score. This was decided on IRC today since the scores do only make sense in \
combination with sorting. Also sorting is disabled by default since it means a \
serious performance penalty if used in combination with a limit which we always do \
for file queries.
* Some of the new sparql flags have been converted to QueryFlags and are now stored \
in the query itself. This makes more sense since they actually change the result \
set.
CCMAIL: kde-core-devel@kde.org
M +8 -4 query/comparisonterm.cpp
M +7 -1 query/dbusoperators.cpp
M +9 -6 query/literalterm.cpp
M +94 -22 query/query.cpp
M +94 -20 query/query.h
M +6 -0 query/query_p.h
M +60 -10 query/querybuilderdata_p.h
M +33 -0 query/queryserializer.cpp
M +13 -0 query/result.cpp
M +27 -0 query/result.h
M +24 -0 test/queryserializertest.cpp
M +21 -10 test/querytest.cpp
http://websvn.kde.org/?view=rev&revision=1174908
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic