nterface
=head1 Synopsis
use PGXN::API::Searcher;
use JSON;
my $search = PGXN::API::Searcher->new('/path/to/api/root');
encode_json $search->search( query => $query, in => 'docs' );
=head1
ks for distributing any kind of release distributions and for
providing a lightweight static file JSON REST API.
This module encapsulates the PGXN API search functionality. The indexes are
created by
inst the appropriate index, and returns the results as a hash suitable
for serializing to L<JSON|http://json.org/> in response to a request.
To use this module, one must have a path to the API server