README
Name
groonga-client
Description
Groonga-client is a client for groonga (http://groonga.org/) implemented with pure ruby.
Groonga-client gem supports HTTP or GQTP (Groonga Query Transfer Protocol) as the protocol using a client. You can use it without groonga package.
Install
% gem install groonga-client
Usage
TODO: use commands with parameters for examples (e.g. table_create, load, select)
GQTP
Groonga::Client.open(:host => host, :port => port, :protocol => :gqtp) do |client|
tables = client.table_list
tables.each do |table|
table.name
end
end
HTTP
Groonga::Client.open(:host => host, :port => port, :protocol => :http) do |client|
tables = client.table_list
tables.each do |table|
table.name
end
end
Dependencies
- Ruby
Mailing list
- English: [email protected]
- Japanese: [email protected]
Authors
- Haruka Yoshihara <[email protected]>
- Kouhei Sutou <[email protected]>
License
LGPLv2.1 or later. See doc/text/lgpl-2.1.txt for details.
(Kouhei Sutou has a right to change the license including contributed patches.)