[Groonga-commit] groonga/gcs [master] Support vector of literal field

Back to archive index

Yoji SHIDARA null+****@clear*****
Tue Aug 14 19:30:07 JST 2012


Yoji SHIDARA	2012-08-14 19:30:07 +0900 (Tue, 14 Aug 2012)

  New Revision: 3cb8bb118c5d17276eb0d358ad22a4af41ee0c32
  https://github.com/groonga/gcs/commit/3cb8bb118c5d17276eb0d358ad22a4af41ee0c32

  Log:
    Support vector of literal field

  Modified files:
    lib/database/index-field.js

  Modified: lib/database/index-field.js (+2 -0)
===================================================================
--- lib/database/index-field.js    2012-08-14 19:24:34 +0900 (bd5e7cf)
+++ lib/database/index-field.js    2012-08-14 19:30:07 +0900 (e70105b)
@@ -122,6 +122,8 @@ IndexField.prototype = {
     if (column.type == 'var') {
       if (column.range == nroonga.ShortText)
         return this._type = 'text';
+      if (column.range == this.indexTableName)
+        return this._type = 'literal';
     } else if (column.type == 'fix') {
       if (column.range == nroonga.UInt32)
         return this._type = 'uint';
-------------- next part --------------
HTML����������������������������...
Download 



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