SWISH::Prog::Xapian::Searcher - Swish3 Xapian backend Searcher
# see SWISH::Prog::Searcher
SWISH::Prog::Xapian::Searcher is not made to replace the more fully-featured Search::Xapian. Instead, SWISH::Prog::Xapian::Searcher provides a simple API similar to other SWISH::Prog::Searcher-based backends so that you can experiment with alternate storage engines without needing to change much code. When your search application requirements become more complex, the author recommends the switch to using Search::Xapian directly.
Only new and overridden methods are documented here. See the SWISH::Prog::Searcher documentation.
Overrides superclass to build map of PropertyNames to ids, since Xapian stores values by id not name.
Get the read-only internal map for PropertyNames to id values.
Returns a SWISH::Prog::Xapian::Results object.
opts is an optional hashref with the following supported key/values:
The starting position. Default is 0.
The ending position. Default is max_hits().
The sort order. Default is by score. This feature is not yet supported.
If set to an array ref of field names, then the Results object will contain a hash ref of facet counts for those fields.
How many results to examine when counting facets. Default is all of them.
Peter Karman, <karman at cpan dot org>
<karman at cpan dot org>
Please report any bugs or feature requests to bug-swish-prog-xapian at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SWISH-Prog-Xapian. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-swish-prog-xapian at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc SWISH::Prog::Xapian
You can also look for information at:
Mailing list
http://lists.swish-e.org/listinfo/users
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/SWISH-Prog-Xapian
CPAN Ratings
http://cpanratings.perl.org/d/SWISH-Prog-Xapian
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=SWISH-Prog-Xapian
Search CPAN
http://search.cpan.org/dist/SWISH-Prog-Xapian
Copyright 2009 Peter Karman, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install SWISH::Prog::Xapian, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SWISH::Prog::Xapian
CPAN shell
perl -MCPAN -e shell install SWISH::Prog::Xapian
For more information on module installation, please visit the detailed CPAN module installation guide.