Re: UnsupportedOperationException: Query should have been rewritten

2012-08-14 Thread Jack Krupansky
-- Jack Krupansky -Original Message- From: Uwe Schindler Sent: Tuesday, August 14, 2012 5:00 AM To: java-user@lucene.apache.org Subject: RE: UnsupportedOperationException: Query should have been rewritten You have to rewrite the wrapper query. - Uwe Schindler H.-H.-Meier-Allee 6

RE: UnsupportedOperationException: Query should have been rewritten

2012-08-14 Thread Uwe Schindler
e.apache.org > Subject: Re: UnsupportedOperationException: Query should have been > rewritten > > Am 14.08.2012 11:00, schrieb Uwe Schindler: > > You have to rewrite the wrapper query. > > Thanks, Uwe! I had tried that way but it failed because the rewrite() method > would ret

Re: UnsupportedOperationException: Query should have been rewritten

2012-08-14 Thread Carsten Schnober
Am 14.08.2012 11:00, schrieb Uwe Schindler: > You have to rewrite the wrapper query. Thanks, Uwe! I had tried that way but it failed because the rewrite() method would return a Query (not a SpanQuery) object. A cast seems to solve the problem, I'm re-posting the code snippet to the list for the sa

RE: UnsupportedOperationException: Query should have been rewritten

2012-08-14 Thread Uwe Schindler
You have to rewrite the wrapper query. - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Carsten Schnober [mailto:schno...@ids-mannheim.de] > Sent: Tuesday, August 14, 2012 10:59 AM > To: java-user > Subje