lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Benedetti <abenede...@apache.org>
Subject Re: Lucene Query to String
Date Tue, 10 Nov 2015 15:25:30 GMT
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.boese@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

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