[Groonga-commit] ranguba/groonga-client at 783f2b0 [master] Stop to omit information

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Sep 5 10:47:37 JST 2016


Kouhei Sutou	2016-09-05 10:47:37 +0900 (Mon, 05 Sep 2016)

  New Revision: 783f2b09fd4a3e339245fdf84f242a05a662c99c
  https://github.com/ranguba/groonga-client/commit/783f2b09fd4a3e339245fdf84f242a05a662c99c

  Message:
    Stop to omit information

  Modified files:
    README.md

  Modified: README.md (+5 -1)
===================================================================
--- README.md    2016-09-05 10:46:09 +0900 (388f94f)
+++ README.md    2016-09-05 10:47:37 +0900 (7737401)
@@ -60,7 +60,11 @@ Here is a typical example to learn usage of groonga-client. In this
 example, it creates `User` table and `login_name` column. Then it
 loads sample data and selects a person which contains `bob` as a key.
 
-    Groonga::Client.open(:host => host, :port => port, :protocol => :http) do |client|
+    require "groonga/client"
+
+    host = "127.0.0.1"
+    protocol = :http
+    Groonga::Client.open(:host => host, :protocol => protocol) do |client|
       client.table_create(:name => "User",
                           :flags => "TABLE_PAT_KEY",
                           :key_type => "ShortText")
-------------- next part --------------
HTML����������������������������...
下载 



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