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.
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
Hi,
I got stuck with a complex proximity clause - and would be grateful to get
your help.
Does Lucene allow, and if yes: what is the syntax?
* Proximity between two phrases, for instance a within n1 words from b which
is within n2 words from c?
* subclauses - for instance (a or b) within n word