GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::Groonga::HTTP(3) User Contributed Perl Documentation Net::Groonga::HTTP(3)

Net::Groonga::HTTP - Client library for Groonga httpd.

    use Net::Groonga::HTTP;

    my $groonga = Net::Groonga::HTTP->new(
        end_point => 'http://127.0.0.1:10041/d/',
    );
    my $res = $groonga->status();
    use Data::Dumper; warn Dumper($res);

Net::Groonga::HTTP is a client library for Groonga http server.

Groonga is a fast full text search engine. Please look <http://groonga.org/>.

    Net::Groonga::HTT->new(%args);

You can create instance with following arguments:

end_point :Str
API end point URL for Groonga httpd.

Example:

    Net::Groonga::HTTP->new(end_point => 'http://127.0.0.1:10041/d/');
    
ua : Furl
Instance of Furl to access Groonga httpd.

Example:

    Net::Groonga::HTTP->new(ua => Furl->new());
    

"$groonga->call($function, %args)"
Call a http server. Function name is $function. Pass the %args.

This method returns instance of Net::Groonga::HTTP::Response.

$groonga->load(%args)
    $groonga->load(
        table => 'Entry',
        values => \@values,
    );
    

Load the data to database. This method encodes values to JSON automatically, if it's arrayref.

$groonga->select(%args)
$groonga->status(%args)
$groonga->select(%args)
$groonga->delete(%args)
$groonga->column_create(%args)
$groonga->dump(%args)
You can use these methods if you are lazy.

Copyright (C) tokuhirom.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

tokuhirom <tokuhirom@gmail.com>
2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.