Kouhei Sutou
null+****@clear*****
Tue Apr 8 18:26:09 JST 2014
Kouhei Sutou 2014-04-08 18:26:09 +0900 (Tue, 08 Apr 2014) New Revision: de6fa15d7d3524824245f7c4745ad1c60c1d5244 https://github.com/droonga/fluent-plugin-droonga/commit/de6fa15d7d3524824245f7c4745ad1c60c1d5244 Message: search: fix a bug that search doesn't return error response with "records" output Modified files: lib/droonga/plugins/search.rb Modified: lib/droonga/plugins/search.rb (+3 -0) =================================================================== --- lib/droonga/plugins/search.rb 2014-04-08 18:23:22 +0900 (5ac3241) +++ lib/droonga/plugins/search.rb 2014-04-08 18:26:09 +0900 (40a425e) @@ -65,6 +65,9 @@ module Droonga # I have to apply it at first, before "limit" and "offset" are applied. body = message.body value = message.value + + return if value.nil? + count_mapper = elements["count"] if count_mapper if count_mapper["no_output"] -------------- next part -------------- HTML����������������������������...Download