- COPYRIGHT & LICENSE
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.
<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.
You can find documentation for this module with the perldoc command.
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
RT: CPAN's request tracker
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.