NAME
OpenSearch::Search
- OpenSearch Search API Endpoints
SYNOPSIS
use OpenSearch;
my $os = OpenSearch->new(...);
my $s = $os->search;
$s->search(
index => 'my_index'
query => {...}
);
$s->count(
index => 'my_index'
query => {...}
);
DESCRIPTION
This module provides an interface to the OpenSearch Search API endpoints.
METHODS
search
$api->search( index => 'my_index', query => {...} );
count
$api->count( index => 'my_index', query => {...} );
AUTHOR
OpenSearch::Search
Perl Module was written by Sebastian Grenz, <git at fail.ninja>