[Groonga-commit] groonga/gcs [master] Don't set searchEnabled for text fields

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Aug 22 17:12:04 JST 2012


YUKI Hiroshi	2012-08-22 17:12:04 +0900 (Wed, 22 Aug 2012)

  New Revision: 5b12d64c3746ff3b3acd6a8b83e887b3a273fe7c
  https://github.com/groonga/gcs/commit/5b12d64c3746ff3b3acd6a8b83e887b3a273fe7c

  Log:
    Don't set searchEnabled for text fields

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

  Modified: test/api-search.test.js (+2 -2)
===================================================================
--- test/api-search.test.js    2012-08-22 17:11:11 +0900 (ca029b9)
+++ test/api-search.test.js    2012-08-22 17:12:04 +0900 (5dc13a3)
@@ -409,9 +409,9 @@ suite('Search API', function() {
       domain = new Domain('people', context)
                  .setId('00000000000000000000000000').createSync();
       domain.getIndexField('realname').setType('text')
-        .setSearchEnabled(true).setResultEnabled(true).createSync();
+        .setResultEnabled(true).createSync();
       domain.getIndexField('nickname').setType('text')
-        .setSearchEnabled(true).setResultEnabled(true).createSync();
+        .setResultEnabled(true).createSync();
       domain.loadSync([
         { id: 'id1', realname: 'Jack Sparrow',
                      nickname: 'Captain' },
-------------- next part --------------
HTML����������������������������...
Descargar 



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