WebService::Azure::Search - Request Azure Search API
use WebService::Azure::Search; # new Azure::Search my $azure = WebServise::Azure::Search->new( service => 'SERVICENAME', index => 'INDEXNAME', api => 'APIKEY', admin => 'ADMINKEY', ); # Select AzureSearch.Support 'search', 'searchMode', 'searchFields', 'count' contexts. my $select = $azure->select( search => 'SEARCHSTRING', searchMode => 'any', searchFields => 'FIELDNAME', count => 'BOOL', ); $select->run; # run Select Statement. return to hash reference. # Run Insert request my $insert = $azure->insert(@values); # '@search.action' statement is 'upload'. my $insert_result = $insert->run; # return hash reference. # Run Update request my $update = $azure->update(@values); # '@search.action' statement is 'merge'. my $update_result = $update->run; # return hash reference. # Run Delete request my $delete = $azure->delete(@values); # '@search.action' statement is 'delete'. my $delete_result = $delete->run; # return hash reference.
WebService::Azure::Search is perform DML against AzureSearch.
Copyright (C) sys_cat.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
sys_cat <systemcat91@gmail.com>
To install WebService::Azure::Search, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Azure::Search
CPAN shell
perl -MCPAN -e shell install WebService::Azure::Search
For more information on module installation, please visit the detailed CPAN module installation guide.