Displaying 1 result from an estimated 1 matches for "filter_ft".
2007 Feb 16
1
Bug in IndexSearcher with limit => all and any offset
...ea_search_w(Searcher *self,
Weight *weight,
int first_doc, // OFFSET
int num_docs, // LIMIT
Filter *filter,
Sort *sort,
filter_ft filter_func,
bool load_fields)
{
int max_size = first_doc + num_docs;
Actually, when you have limit => :all, num_docs equals to INT_MAX, so
adding a value to it makes a nice int overflow :/
The diff patch is here:
http://pastie.caboo.se/40748
I''ve to...