Revision 902c9b2...
Go back to digest for 14th July 2013Optimization in KDE Base
Vishesh Handa committed changes in [nepomuk-core] libnepomukcore/query/queryparser.cpp:
DesktopQueryParser: Map commonly used keywords to their properties
Otherwise hasTag maps to both pimo:hasTag and nao:hasTag
rating maps to 3 different ratings
mimetype maps to 2 different properties
For these common keywords the user doesn't expect the other properties
to be searched. Additionally, we're just slowing down the queries by
searching through those extra properties.
File Changes
Modified 1 files
- libnepomukcore/query/queryparser.cpp
1 files changed in total