[Xapian-discuss] Result Snippet Highlighting?

Colin Bell colinabell at gmail.com
Mon Apr 7 14:17:25 BST 2008


Hi Gert


On 7 Apr 2008, at 12:20, Gert Brinkmann wrote:

> Hello,
>
> I am currently looking for an IR-Framework for a perl based project.  
> The
> xapian perl module seems very well up to date and nearly complete, so
> xapian looks very interesting. (I only did find lucene as an  
> alternativ,
> but where perl support is not so grown up yet as it feels.)
>
> Before diving into xapian I would like to know if there is snippet
> highlighting support for the result list. (The searched word(s) and
> fuzzily related words should be marked up.) I could not find  
> information
> (classes/methods) about it. Some mailing list postings seem that  
> this is
> on the todo-list but not yet available (only in the tool/project  
> omega).
>
> So: Is there highlighting support in xapian?


Xapian currently does not do highlighting, it's possible to add it  
yourself though. If you look back into last months posts you'll see I  
posted some C++ code that could do what your asking. This is what I am  
currently using as my solution. You should be able to convert it to  
PERL easily enough.



More information about the Xapian-discuss mailing list