Kouhei Sutou
null+****@clear*****
Tue Aug 14 16:52:07 JST 2012
Kouhei Sutou 2012-08-14 16:52:07 +0900 (Tue, 14 Aug 2012) New Revision: d32e7053247ae3b56a45243cc2fd213c2a4fd756 https://github.com/groonga/gcs/commit/d32e7053247ae3b56a45243cc2fd213c2a4fd756 Log: bq: add missing "String" to phrase parse function name Modified files: lib/bq-translator.js Modified: lib/bq-translator.js (+2 -2) =================================================================== --- lib/bq-translator.js 2012-08-14 16:49:07 +0900 (8d0b761) +++ lib/bq-translator.js 2012-08-14 16:52:07 +0900 (858de3b) @@ -254,7 +254,7 @@ BooleanQueryTranslator.prototype = { this.throwTranslateError("operator is missing: " + "keyword:<" + value + ">"); } - tokens.push(this.translateExpressionValuePhrase(field)); + tokens.push(this.translateExpressionValueStringPhrase(field)); this.offset--; } else { value += character; @@ -271,7 +271,7 @@ BooleanQueryTranslator.prototype = { } return field + " " + operator + " " + "\"" + value + "\""; }, - translateExpressionValuePhrase: function(field) { + translateExpressionValueStringPhrase: function(field) { if (this.query[this.offset] != "\"") { this.throwTranslateError("open double quote for phrase value is missing"); } -------------- next part -------------- HTML����������������������������...Download