wiki:FAQ/Snippets

How can I generate a highlighted sample from a matching document?

1.4.0 added this much requested functionality via the Xapian::MSet::get_snippet() method.

If you are working in Perl, then you may want to look at the Search::Tools::HiLiter and Search::Tools::Snipper Perl modules, both available from CPAN.

FAQ Index

Last modified 2 years ago Last modified on 06/03/17 23:13:23