[Groonga-commit] droonga/wikipedia-search at 1a66377 [master] Add regexp index to Groonga

Back to archive index

Kouhei Sutou null+****@clear*****
Sun May 17 16:49:22 JST 2015


Kouhei Sutou	2015-05-17 16:49:22 +0900 (Sun, 17 May 2015)

  New Revision: 1a66377a9eb81d3417671c58d24661f481a49aaf
  https://github.com/droonga/wikipedia-search/commit/1a66377a9eb81d3417671c58d24661f481a49aaf

  Message:
    Add regexp index to Groonga

  Modified files:
    config/groonga/indexes.grn

  Modified: config/groonga/indexes.grn (+6 -0)
===================================================================
--- config/groonga/indexes.grn    2015-05-17 16:48:31 +0900 (8f87259)
+++ config/groonga/indexes.grn    2015-05-17 16:49:22 +0900 (839c002)
@@ -5,3 +5,9 @@ table_create Terms TABLE_PAT_KEY ShortText \
   --normalizer NormalizerAuto
 column_create Terms pages COLUMN_INDEX|WITH_SECTION|WITH_POSITION \
   Pages title,text
+
+table_create RegexpTerms TABLE_PAT_KEY ShortText \
+  --default_tokenizer TokenRegexp \
+  --normalizer NormalizerAuto
+column_create RegexpTerms pages COLUMN_INDEX|WITH_POSITION \
+  Pages text
-------------- next part --------------
HTML����������������������������...
Download 



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