search for: get_max_wildcard_expansion

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

2008 Sep 16
0
[PATCH] Add set_max_wildcard_expansion method to the queryparser.
...yparser.lemony b/xapian-core/queryparser/queryparser.lemony index b6dc261..e723ebc 100644 --- a/xapian-core/queryparser/queryparser.lemony +++ b/xapian-core/queryparser/queryparser.lemony @@ -226,6 +226,10 @@ class State { Database get_database() const { return qpi->db; } + + long get_max_wildcard_expansion() { + return qpi->max_wildcard_expansion; + } }; string @@ -335,6 +339,8 @@ Term::as_wildcarded_query(State * state_) const Database db = state_->get_database(); vector<Query> subqs; list<string>::const_iterator piter; + long expansion_count = 0; + long...