search for: refcntbase

Displaying 4 results from an estimated 4 matches for "refcntbase".

2009 Apr 14
2
questions about xapian
Hi! Alls ???? i have read code of xapian more than one month,i leant a lot from your code both form design of search engine and code details. ???? however, something make me in a puzzle. ? ?? Take? RefCntBase as an example, it seems that it is a "kernel" of xapian, as many classes inherit from it. But,what is it funtion? why is it so important? ???? Another confusion is about Valuerangeprocess. I really want to make clear differences between valuerange-search and common search in details. I a...
2009 Apr 14
2
questions about xapian
Hi! Alls ???? i have read code of xapian more than one month,i leant a lot from your code both form design of search engine and code details. ???? however, something make me in a puzzle. ? ?? Take? RefCntBase as an example, it seems that it is a "kernel" of xapian, as many classes inherit from it. But,what is it funtion? why is it so important? ???? Another confusion is about Valuerangeprocess. I really want to make clear differences between valuerange-search and common search in details. I a...
2008 Sep 16
0
[PATCH] Add set_max_wildcard_expansion method to the queryparser.
...n-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(const string &field, const string &prefix, bool filter); std::string parse_term(Utf8Iterator &it, const Utf8Iterator &end, @@ -81,7 +83,7 @@ class QueryParser::Internal : public Xapian...
2006 Jun 03
2
Initial patch for ExternalPostList
Hi Everybody, Here is the first version of my match for an ExternalPostList, it should apply cleanly to 0.9.5 and 0.9.6. You can use it by first implementing an ExternalPostingSource, then creating a new Query object passing a reference an instance of your implementation to the constructor, see query.h. The ExternalPostingSource implementation is reference counted, so when its no