Re: Does highlighter highlight phrases only?

2005-06-28 Thread Erik Hatcher
On Jun 28, 2005, at 9:09 PM, Fred Toth wrote: Hi, I'm working with the highlighter and phrase queries and I'm seeing it highlight not the phrase, but also the individual terms. So if the phrase query is "heavy doses", we get that string highlighted, but also individual occurrences of "heavy

Re: Does highlighter highlight phrases only?

2005-06-28 Thread Fred Toth
Thanks Erik! I think I found it. For others who are interested: http://issues.apache.org/bugzilla/show_bug.cgi?id=35518 Fred Toth At 09:26 PM 6/28/2005, you wrote: On Jun 28, 2005, at 9:09 PM, Fred Toth wrote: Hi, I'm working with the highlighter and phrase queries and I'm seeing it highl

RE: Does highlighter highlight phrases only?

2005-06-30 Thread Bohl, David
to update it). -Original Message- From: Fred Toth [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 28, 2005 9:16 PM To: java-user@lucene.apache.org Subject: Re: Does highlighter highlight phrases only? Thanks Erik! I think I found it. For others who are interested: http://issues.apache.or

Re: Does highlighter highlight phrases only?

2005-06-30 Thread Erik Hatcher
On Jun 30, 2005, at 4:12 PM, Bohl, David wrote: FYI, I made an update to this (I'm the author) to handle span queries. I uploaded the updated code to the same bugzilla link. The code doesn't treat span queries like phrases - it just highlights the terms individually (if someone can find

Re: Does highlighter highlight phrases only?

2005-06-30 Thread markharw00d
Hi Erik, Yes I was thinking that code could form the basis of a new highlighter. I've just attached a QuerySpansExtractor to the bugzilla entry for the new highlighter. This class produces Spans from queries other than SpanXxxxQueries eg phrase, term and booleans. I'm thinking you can throw the

Re: Does highlighter highlight phrases only?

2005-07-01 Thread Erik Hatcher
On Jun 30, 2005, at 4:35 PM, markharw00d wrote: Hi Erik, Yes I was thinking that code could form the basis of a new highlighter. I've just attached a QuerySpansExtractor to the bugzilla entry for the new highlighter. This class produces Spans from queries other than SpanXxxxQueries eg p