Re: ComplexPhraseQueryParser highlight problem

2009-11-03 Thread Mark Miller
AHMET ARSLAN wrote: >> Looks like its because the query >> coming in is a ComplexPhraseQuery and >> the Highlighter doesn't current know how to handle that >> type. >> >> It would need to be rewritten first barring the special >> handling it >> needs - but unfortunately, that will break multi-term

Re: ComplexPhraseQueryParser highlight problem

2009-11-03 Thread AHMET ARSLAN
> Looks like its because the query > coming in is a ComplexPhraseQuery and > the Highlighter doesn't current know how to handle that > type. > > It would need to be rewritten first barring the special > handling it > needs - but unfortunately, that will break multi-term query > highlighting > unle

Re: ComplexPhraseQueryParser highlight problem

2009-11-02 Thread Mark Miller
Looks like its because the query coming in is a ComplexPhraseQuery and the Highlighter doesn't current know how to handle that type. It would need to be rewritten first barring the special handling it needs - but unfortunately, that will break multi-term query highlighting unless you use boolean r

Re: ComplexPhraseQueryParser highlight problem

2009-11-02 Thread AHMET ARSLAN
I think there is a problem about attachment. I am re-sending it. > > Thank you for your interest, Mark. > > I am sending a java code (using lucene 2.9.0) that simply > demonstrates the problem. When the same query string is > parsed by Lucene's default QueryParser highlighting comes. > > I am

Re: ComplexPhraseQueryParser highlight problem

2009-11-02 Thread AHMET ARSLAN
> Yes - please share your test programs > and I can investigate (ApacheCon > this week, so I'm not sure when). Thank you for your interest, Mark. I am sending a java code (using lucene 2.9.0) that simply demonstrates the problem. When the same query string is parsed by Lucene's default QueryPars

Re: ComplexPhraseQueryParser highlight problem

2009-11-02 Thread Mark Miller
Yes - please share your test programs and I can investigate (ApacheCon this week, so I'm not sure when). And its best to keep communications on the list - that allows others with similar issues (now or in the future) to benefit from whatever goes on. You will also reach a wider pool of people that