Displaying 1 result from an estimated 1 matches for "max_wildcard_expansion".
2008 Sep 16
0
[PATCH] Add set_max_wildcard_expansion method to the queryparser.
...search-xapian/XS/QueryParser.xs b/search-xapian/XS/QueryParser.xs
index 3bec548..78edaaa 100644
--- a/search-xapian/XS/QueryParser.xs
+++ b/search-xapian/XS/QueryParser.xs
@@ -49,6 +49,12 @@ QueryParser::set_database(database)
CODE:
THIS->set_database(*database);
+void
+QueryParser::set_max_wildcard_expansion(max)
+ long max
+ CODE:
+ THIS->set_max_wildcard_expansion(max);
+
Query *
QueryParser::parse_query(q, flags = 7)
string q
diff --git a/search-xapian/Xapian/QueryParser.pm b/search-xapian/Xapian/QueryParser.pm
index f48a12e..3778be3 100644
--- a/search-xapian/Xapian/QueryParser.pm
+...