Displaying 1 result from an estimated 1 matches for "om_match_nothing".
2006 Dec 06
1
Bug and patch for +terms with wildcards
...match the
+ wildcard "foo*", but bar does exist in the database. Previously,
+ such queries would be equivalent to "bar". Now, they will match
+ no documents.
+ * include/xapian/query.h,api/omqueryinternal.cc,api/omquery.cc: Add
+ an OM_MATCH_NOTHING query operator, and add a constructor for
+ nullary query operators (ie, queries with no subqueries). A
+ query with this operator represents a query which matches no
+ documents (such as a wildcard query which expands to no terms).
+ Add support for combining O...