lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <>
Subject Re: Weird operator precedence with default operator AND
Date Wed, 10 Oct 2007 17:19:27 GMT
I have only taken passing glances at Solr, so I am afraid I cannot be of 
much help. Certainly one of the Solr guys will be able to be of 
assistance though.

Since Qsol generates Query objects, you just need to find out how to 
bypass sending solr a query String and instead give it a Query object. I 
assume this must be possible.

Back in the day you might have been able to call Query.toString() as the 
Query contract says that toString() should output valid QueryParser 
syntax. This does not work for many queries though (most notably Span 
Queries -- QueryParser knows nothing about Span queries).

- Mark

Martin Dietze wrote:
> Mark,
> On Wed, October 10, 2007, Martin Dietze wrote:
>>> Qsol: (A query parser I wrote that has fully 
>>> customizable precedence support - don't be fooled by the stale website...I 
>>> am actually working on version 2 as i have time)
>> That sounds promising, I will check this out right now!
>  as far as I can judge this from what I've tested now it seem
> like qsol does handle operator precedence correctly for my
> test cases. However - excuse a possibly dumb question - how
> do I get out my query in a form accepted by solr?
> Cheers,
> Martin

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message