[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/runtime/nepomuk/services/queryservice
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2009-08-14 11:19:38
Message-ID: 1250248778.510769.11685.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1011339 by trueg:

Do not cut off results due to their low score by default.
At the moment our scoring is too bad anyway.
In the future this should be come configurable through the service API.

BUG: 202123


 M  +1 -1      searchcore.cpp  
 M  +2 -2      searchcore.h  


--- trunk/KDE/kdebase/runtime/nepomuk/services/queryservice/searchcore.cpp #1011338:1011339
@@ -31,7 +31,7 @@
 {
 public:
     Private()
-        : cutOffScore( 0.25 ),
+        : cutOffScore( 0.0 ), // TODO: make this configurable through the service API
           active( false ),
           canceled( false ) {
     }
--- trunk/KDE/kdebase/runtime/nepomuk/services/queryservice/searchcore.h #1011338:1011339
@@ -54,11 +54,11 @@
 
         public Q_SLOTS:
             void query( const Query& query );
-            
+
             void cancel();
 
             /**
-             * Default: 0.25
+             * Default: 0.0
              */
             void setCutOffScore( double score );
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic