NAME
Search::Xapian::Enquire - Make queries against a database
DESCRIPTION
This class provides an interface to the information retrieval system for the purpose of searching.
METHODS
- new
- set_query
-
takes either a ready made Search::Xapian::Query or a scalar containing a query, which in that case will be passed to Search::Xapian::Query's constructor, together with any other passed arguments.
- set_query_object <query>
- get_query
- matches <start> <size>
-
Takes the start element, and maximum number of elements, and returns an array tied to Search::Xapian::MSet::Tied.
- get_matching_terms_begin
-
Returns a Search::Xapian::TermIterator, pointing to the start of the stream.
- get_matching_terms_end
-
Returns a Search::Xapian::TermIterator, pointing to the end of the stream.
- set_collapse_key <collapse_key>
- set_sort_forward <sort_forward>
- set_cutoff <percent_cutoff> [<weight_cutoff>]
- set_sorting <sort_key> <sort_bands> [<sort_by_relevance>]
- set_bias <bias_weight>=item set_sorting <sort_key> <sort_bands> [<sort_by_relevance>]
- set_bias <bias_weight> <bias_halflife>
- get_mset
-
Get match set.
- get_eset
- register_match_decoder <name> <mdecider>
-
See xapian api doc for these functions.
- get_description
-
Returns a description of the object (for introspection).