[Groonga-commit] groonga/groonga-query-log at 5471f7a [master] logical_select doesn't have scorer parameter yet

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Aug 14 16:19:22 JST 2015


Kouhei Sutou	2015-08-14 16:19:22 +0900 (Fri, 14 Aug 2015)

  New Revision: 5471f7a7ee0b25176dc173d6e6a08fbba0e198ca
  https://github.com/groonga/groonga-query-log/commit/5471f7a7ee0b25176dc173d6e6a08fbba0e198ca

  Message:
    logical_select doesn't have scorer parameter yet

  Modified files:
    lib/groonga/query-log/response-comparer.rb

  Modified: lib/groonga/query-log/response-comparer.rb (+1 -0)
===================================================================
--- lib/groonga/query-log/response-comparer.rb    2015-08-14 14:38:57 +0900 (3c48aa3)
+++ lib/groonga/query-log/response-comparer.rb    2015-08-14 16:19:22 +0900 (28461bd)
@@ -77,6 +77,7 @@ module Groonga
       end
 
       def random_score?
+        return false unles****@comma*****_to?(:scorer)
         @command.scorer == "_score=rand()"
       end
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index