Re: Lucene Query to String

2015-11-10 Thread Markus Boese
Hey Alessandro, thanks for your reply. A few minutes ago I found an issue in my code and now everything is working as expected. Sorry, for wasting for time :/ 2015-11-10 16:25 GMT+01:00 Alessandro Benedetti <[abenede...@apache.org](mailto:abenede...@apache.org)>: \-- Mit fr

Re: Lucene Query to String

2015-11-10 Thread Alessandro Benedetti
Hi Markus, what is the logic behind your query parser? How the query is expected to be rewritten ? I've never seen that kind of rewritten query, but if you tell us what you are expecting to rewrite, maybe would be easier to help! Cheers On 10 November 2015 at 14:31, Markus Boese wrote: > Hi, >

Lucene Query to String

2015-11-10 Thread Markus Boese
Hi, I've written my own QueryParser and now i've a strange issue. I'm parsing the following string : 'abcd 1' Then this tokens are created: 'abcd' '1' This is my query.toString() output : '+f:abcd f:abcd$ f:^abcd^4.0 +f:abcd[ , 1] f:^abcd[ , 1] +f:1' Could anyone explain what lucene w