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 freundlichen Grüßen, Markus Boese > 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 <[markus.bo...@gmail.com](mailto:markus.bo...@gmail.com)> wrote: > 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 whats to tell me with '[ ,1]' ? > I know lucene supports range queries but there are contains something like > this '[1 TO 4]', thus no comma included... > > \-- > Regards, > > Markus Boese > > > \-- \-------------------------- Benedetti Alessandro Visiting card : <http://about.me/alessandro_benedetti> "Tyger, tyger burning bright In the forests of the night, What immortal hand or eye Could frame thy fearful symmetry?" William Blake - Songs of Experience -1794 England