: I've been asked today about whether there is a way to express a query like:
: 
: q="foo bar baz"


: My tentatively answer based on the code is that mm (min should match)
: only applies to Boolean queries (clauses), so there is no way to mix

that is correct -- minNrShouldMatch is only a BQ concept (the "should" 
literally refers to the SHOULD clause type)

: it with phrase queries... One could simulate this with span queries,
: but there is no query parser available that would permit creating such
: a query from user input.

Maybe i'm missunderstanding the objective, because i can't at all imagine 
how you could do what you want (or at least what i think you want) with 
the existing span queries?


-Hoss
http://www.lucidworks.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to