[Groonga-commit] ranguba/rroonga at 9c15ef2 [master] Fix deprecated

Back to archive index

ongaeshi null+****@clear*****
Sat Oct 11 22:06:25 JST 2014


ongaeshi	2014-10-11 22:06:25 +0900 (Sat, 11 Oct 2014)

  New Revision: 9c15ef2565cdfd7cdfe937fafcf73bf8dd511cc1
  https://github.com/ranguba/rroonga/commit/9c15ef2565cdfd7cdfe937fafcf73bf8dd511cc1

  Merged d9173a6: Merge pull request #26 from ranguba/doc/fix-patricia-trie

  Message:
    Fix deprecated
    
    before: :key_normalize => true
    after:  :normalizer => "NormalizerAuto"

  Modified files:
    ext/groonga/rb-grn-patricia-trie.c
    lib/groonga/patricia-trie.rb

  Modified: ext/groonga/rb-grn-patricia-trie.c (+1 -1)
===================================================================
--- ext/groonga/rb-grn-patricia-trie.c    2014-10-06 10:38:51 +0900 (d32cb45)
+++ ext/groonga/rb-grn-patricia-trie.c    2014-10-11 22:06:25 +0900 (ec967d1)
@@ -340,7 +340,7 @@ rb_grn_patricia_trie_search (int argc, VALUE *argv, VALUE self)
  *
  * @example
  *   words = Groonga::PatriciaTrie.create(:key_type => "ShortText",
- *                                        :key_normalize => true)
+ *                                        :normalizer => "NormalizerAuto")
  *   words.add("リンク")
  *   adventure_of_link = words.add('リンクの冒険')
  *   words.add('冒険')

  Modified: lib/groonga/patricia-trie.rb (+1 -1)
===================================================================
--- lib/groonga/patricia-trie.rb    2014-10-06 10:38:51 +0900 (7b3b173)
+++ lib/groonga/patricia-trie.rb    2014-10-11 22:06:25 +0900 (44e9805)
@@ -33,7 +33,7 @@ module Groonga
     #   include ERB::Util
     #   Groonga::Context.default_options = {:encoding => "utf-8"}
     #   words = Groonga::PatriciaTrie.create(:key_type => "ShortText",
-    #                                        :key_normalize => true)
+    #                                        :normalizer => "NormalizerAuto")
     #   words.add('ガッ')
     #   words.add('MUTEKI')
     #
-------------- next part --------------
HTML����������������������������...
下載 



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