Dezi::Lucy::Results - search results for Dezi::Lucy::Searcher
my $results = $searcher->search($query); $results->find_relevant_fields(1); while ( my $result = $results->next ) { my $fields = $result->relevant_fields; for my $f (@$fields) { printf("%s matched %s\n", $result->uri, $f); } }
Dezi::Lucy::Results is an Apache Lucy based Results class for Dezi::App.
Only new and overridden methods are documented here. See the Dezi::Results documentation.
Set to true (1) to locate the fields the query matched for each result. Default is false (0).
NOTE that the Indexer must have had highlightable_fields set to true (1) in order for find_relevant_fields to work.
Returns the next Dezi::Lucy::Result object from the result set.
Peter Karman, <karpet@dezi.org>
Please report any bugs or feature requests to bug-dezi-app at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dezi-App. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-dezi-app at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Dezi::App
You can also look for information at:
Website
http://dezi.org/
IRC
#dezisearch at freenode
Mailing list
https://groups.google.com/forum/#!forum/dezi-search
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dezi-App
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Dezi-App
CPAN Ratings
http://cpanratings.perl.org/d/Dezi-App
Search CPAN
https://metacpan.org/dist/Dezi-App/
Copyright 2018 by Peter Karman
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
http://dezi.org/, http://swish-e.org/, http://lucy.apache.org/
To install Dezi::App, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dezi::App
CPAN shell
perl -MCPAN -e shell install Dezi::App
For more information on module installation, please visit the detailed CPAN module installation guide.