lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Boese <>
Subject Re: Lucene Query to String
Date Tue, 10 Nov 2015 16:24:32 GMT
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




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!  


On 10 November 2015 at 14:31, Markus Boese
&lt;[](; wrote:  
&gt; Hi,  
&gt; I've written my own QueryParser and now i've a strange issue.  
&gt; I'm parsing the following string     : 'abcd 1'  
&gt; Then this tokens are created        : 'abcd' '1'  
&gt; This is my query.toString() output : '+f:abcd f:abcd$ f:^abcd^4.0
&gt; , 1] f:^abcd[ , 1] +f:1'  
&gt; Could anyone explain what lucene whats to tell me with '[ ,1]' ?  
&gt; I know lucene supports range queries but there are contains something
&gt; this '[1 TO 4]', thus no comma included...  
&gt; \--  
&gt; Regards,  
&gt; Markus Boese  


> \--  
Benedetti Alessandro  
Visiting card : <>  
"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  

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message