search for: flatten_subqs

Displaying 1 result from an estimated 1 matches for "flatten_subqs".

2006 Nov 15
1
Composition of NEAR and OR
...n::Query("three"), Xapian::Query("four")); Xapian::Query near(Xapian::Query::OP_NEAR, or1, or2); I can't decide by looking at the code in omqueryinternal.cc if this is intentional or not. In debug mode, it does trigger the NEAR or PHRASE assertion at the top of flatten_subqs(), which gets called at some point for the query: ((one NEAR 2 three) OR (one NEAR 2 four)) which does not seem right or needed, Is this "(x or y) near (z or t)" query supposed to work or not ? I'm willing to try and fix it if it should work, but this area of the xapian code c...