Wildcard searching with Highlight support ?

2005-04-19 Thread Eric Chow
Hello, I downloaded the term highlighting in sandbox. But it seems not support wildcard searching. I mean if I use wildcard query, it cannot highlight any terms ? Any idea to do this or any existing example ? Best regards, Eric --

Re: Wildcard searching with Highlight support ?

2005-04-19 Thread mark harwood
Use query.rewrite() to expand the query before calling the highlighter. See the Junit test or javadocs for the QueryTermExtractor class. --- Eric Chow <[EMAIL PROTECTED]> wrote: > Hello, > > I downloaded the term highlighting in sandbox. > But it seems not support wildcard searching. > > I mean

RE: Wildcard searching with Highlight support ?

2005-04-19 Thread Pasha Bizhan
Hi, > From: Eric Chow [mailto:[EMAIL PROTECTED] > > I mean if I use wildcard query, it cannot highlight any terms ? > > Any idea to do this or any existing example ? Try to rewrite query before highlighting. Pasha Bizhan