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

1.4.0 added this much requested functionality via the Xapian::MSet::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 5 years ago Last modified on 02/28/19 22:50:41
Note: See TracWiki for help on using the wiki.