[Xapian-discuss] Xapian-powered Gmane search

Olly Betts olly at survex.com
Fri Oct 22 15:35:36 BST 2004


On Fri, Oct 22, 2004 at 08:30:29AM +0100, James Aylett wrote:
> On Thu, Oct 21, 2004 at 11:57:51PM +0100, Olly Betts wrote:
> 
> > The most useful Omega tweak is to allow the coloured backgrounds in
> > search highlighting - I'll fold this into CVS fairly soon:
> > 
> > http://rain.gmane.org/?query=xapian+gmane+search
> 
> What does it do that $highlight{$field{SUMMARY},$terms,<span
> style='background-color: yellow;'>,</span>} can't?

It uses a different colour background for each word from the query
(well, for the first 6, then it cycles).

Cheers,
    Olly



More information about the Xapian-discuss mailing list