[Xapian-discuss] Wildcards?

Olly Betts olly at survex.com
Fri Feb 10 10:49:03 GMT 2006


On Fri, Feb 10, 2006 at 12:27:40PM +0200, David Levy wrote:
> And what about doing this with Omega ?

You'll need to tweak the source code for the moment - like so:

--- query.cc	(revision 6503)
+++ query.cc	(working copy)
@@ -194,7 +194,7 @@
     }
 
     try {
-	query = qp.parse_query(query_string);
+	query = qp.parse_query(query_string, FLAG_PHRASE|FLAG_BOOLEAN|FLAG_LOVEHATE|FLAG_WILDCARD);
     } catch (const char *s) {
 	error_msg = s;
 	return BAD_QUERY;


Cheers,
    Olly



More information about the Xapian-discuss mailing list