Displaying 2 results from an estimated 2 matches for "downcase_term".
2006 Mar 07
2
FLAG_BOOLEAN_ANY_CASE does not work
...esults 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);
continue;
} else if (term == "or") {
Parse(pParser, OR, NULL, &state);...
2006 Mar 03
1
xapian-0.9.4 queryparser build errors after applying utf-8 patch
...as not declared in this scope
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:70: error: expected `,' or `;' before '{' token
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony: In function `std::string downcase_term(const std::string&)':
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:161: error: `gchar' undeclared (first use this function)
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:161: error: `r' undeclar...