NAME
SolarBeam - Async Solr search driver
VERSION
0.01
SYNOPSIS
use SolarBeam;
my $solr = SolarBeam->new;
$solr->search(...);
DESCRIPTION
Interface to acquire Solr index engine connections.
SolarBeam is currently EXPERIMENTAL.
ATTRIBUTES
SolarBeam implements the the following attributes.
ua
$ua = $self->ua
$self = $self->ua(Mojo::UserAgent->new);
A Mojo::UserAgent compatible object.
url
$url = $self->url;
Solr endpoint as a Mojo::URL object. Note that passing in "url" as a string to "new" also works.
default_query
A hashref with default parameters used for every query.
METHODS
new
$self = SolarBeam->new;
Object constructor.
search($query, [%options], $cb)
options:
page
rows
autocomplete($prefix, [%options], $cb)
options:
-postfix - defaults to \w+
regex.flag -
regex -