Re: Complex proximity clauses within Lucene QueryParser

2007-08-05 Thread Mark Miller
Paul Elschot wrote: I had a quick look at the sources, and I missed a parser definition file in the svn repository. Did I miss it, and when not, could you add it? As far as qsol syntax goes, here are some suggestions. Qsol mostly has binary operators, but with the following operators also as pre

Re: Complex proximity clauses within Lucene QueryParser

2007-08-05 Thread Paul Elschot
Nir, As Erick said, the surround query language does the things requested. It is in contrib/surround. Mark, On Sunday 05 August 2007 06:33, Mark Miller wrote: > You might check out Qsol: http://myhardshadow.com/qsol.php > > It is my attempt at just such a parser. Some of that logic can be open

Re: Complex proximity clauses within Lucene QueryParser

2007-08-04 Thread Mark Miller
You might check out Qsol: http://myhardshadow.com/qsol.php It is my attempt at just such a parser. Some of that logic can be open to a bit of interpretation (spans vs nonspans). - Mark tierecke wrote: Hi, I got stuck with a complex proximity clause - and would be grateful to get your help.

Re: Complex proximity clauses within Lucene QueryParser

2007-08-04 Thread Erick Erickson
I'm not sure the native syntax supports this idea, but I'm pretty sure you could construct it yourself with the appropriate SpanQuery sub-clauses. You'd have to deal with your own parsing of the input though. Also, check the SrndQuery class, I'm pretty this will work, but be aware that it has its