search for: 88cbb8f

Displaying 1 result from an estimated 1 matches for "88cbb8f".

Did you mean: 088cbb8e
2008 Sep 16
0
[PATCH] Add set_max_wildcard_expansion method to the queryparser.
...x != 0 && ++expansion_count > max) { + throw Xapian::InvalidOperationError("Wildcard expands too much"); + } } } delete this; diff --git a/xapian-core/queryparser/queryparser_internal.h b/xapian-core/queryparser/queryparser_internal.h index 88cbb8f..87cfaf5 100644 --- a/xapian-core/queryparser/queryparser_internal.h +++ b/xapian-core/queryparser/queryparser_internal.h @@ -74,6 +74,8 @@ class QueryParser::Internal : public Xapian::Internal::RefCntBase { string corrected_query; + long max_wildcard_expansion; + void add_prefix(c...