[Groonga-commit] groonga/gcs [master] Fix patterns of DefineIndexFieldResponses

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 13日 (金) 19:05:35 JST


SHIMODA Hiroshi	2012-07-13 19:05:35 +0900 (Fri, 13 Jul 2012)

  New Revision: d2c60b623de0e1916f86cfdb34504e440f2d9ff0
  https://github.com/groonga/gcs/commit/d2c60b623de0e1916f86cfdb34504e440f2d9ff0

  Log:
    Fix patterns of DefineIndexFieldResponses

  Modified files:
    test/api-configuration.test.js

  Modified: test/api-configuration.test.js (+6 -3)
===================================================================
--- test/api-configuration.test.js    2012-07-13 19:04:07 +0900 (2e78a17)
+++ test/api-configuration.test.js    2012-07-13 19:05:35 +0900 (1f447b2)
@@ -92,7 +92,7 @@ var PATTERN_UIntOptions = {
 var PATTERN_IndexField_UInt = {
       IndexFieldName: '',
       IndexFieldType: '',
-      TextOptions: PATTERN_UIntOptions
+      UIntOptions: PATTERN_UIntOptions
     };
 var PATTERN_IndexFieldStatus_UInt = {
       Options: PATTERN_IndexField_UInt,
@@ -108,12 +108,15 @@ var PATTERN_DefineIndexFieldResponse_UInt = {
       }
     };
 var PATTERN_LiteralOptions = {
-      DefaultValue: {}
+      DefaultValue: {},
+      FacetEnabled: '',
+      ResultEnabled: '',
+      SearchEnabled: ''
     };
 var PATTERN_IndexField_Literal = {
       IndexFieldName: '',
       IndexFieldType: '',
-      TextOptions: PATTERN_LiteralOptions
+      LiteralOptions: PATTERN_LiteralOptions
     };
 var PATTERN_IndexFieldStatus_Literal = {
       Options: PATTERN_IndexField_Literal,
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index