[Groonga-commit] ranguba/groonga-client-model at c11031c [master] test: add full text search index

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Dec 9 18:46:44 JST 2016


Kouhei Sutou	2016-12-09 18:46:44 +0900 (Fri, 09 Dec 2016)

  New Revision: c11031c735755311ac912c7fac788bcd6c07410e
  https://github.com/ranguba/groonga-client-model/commit/c11031c735755311ac912c7fac788bcd6c07410e

  Message:
    test: add full text search index

  Modified files:
    test/apps/rails5/db/schema.grn

  Modified: test/apps/rails5/db/schema.grn (+5 -0)
===================================================================
--- test/apps/rails5/db/schema.grn    2016-12-09 18:46:24 +0900 (7390ec8)
+++ test/apps/rails5/db/schema.grn    2016-12-09 18:46:44 +0900 (aaf10e5)
@@ -2,3 +2,8 @@ table_create posts TABLE_NO_KEY
 
 column_create posts title COLUMN_SCALAR ShortText
 column_create posts body COLUMN_SCALAR Text
+
+table_create terms TABLE_PAT_KEY ShortText \
+  --default_tokenizer TokenBigram \
+  --normalizer NormalizerAuto
+column_create terms posts_body COLUMN_INDEX|WITH_POSITION posts body
-------------- next part --------------
HTML����������������������������...
Descargar 



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