Displaying 1 result from an estimated 1 matches for "lcterm".
2006 Mar 07
2
FLAG_BOOLEAN_ANY_CASE does not work
...0 results found
$ python search.py -v woman and man
Performing query 'Xapian::Query((woman:(pos=1) AND and:(pos=2) AND man:(pos=3)))'
0 results found
In the following code in queryparser.lemony, I think every "term" within if () condition
should be changed to "lcterm". I attach a patch file to fix this.
} else if (flags & FLAG_BOOLEAN_ANY_CASE) {
string lcterm = downcase_term(term);
if (term == "and") {
Parse(pParser, AND, NULL, &state);...