search for: pparser

Displaying 3 results from an estimated 3 matches for "pparser".

Did you mean: parser
2006 Mar 07
2
FLAG_BOOLEAN_ANY_CASE does not work
...on 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); continue; } else if (term == "not") {...
2006 Oct 30
1
QueryParser and prefixes
Hi all, My app uses prefixes for user-defined labels and directory names. Since these are case-sensitive, I chose XLABEL and XDIR respectively. Labels and directories may start with an upper-case, so a ":" is always inserted between the prefix and the term itself. These prefixes are mapped with add_boolean_prefix to "dir" and "label". Let's imagine I index a
2010 Oct 28
1
hypens in words + NEAR + 3 terms + AND_MAYBE => crash
...$qp->set_default_op(OP_AND_MAYBE); $query_string = " x-y NEAR test NEAR test "; my $query = $qp->parse_query($query_string, Search::Xapian::FLAG_DEFAULT); [...] Here's a gdb backtrace for a crash: Program received signal SIGSEGV, Segmentation fault. ~TermGroup (yypParser=0x2b58170, yymajor=<value optimized out>, yypminor=0x386a7f8) at queryparser/queryparser.lemony:1265 1265 delete *i; Current language: auto; currently c++ (gdb) bt #0 ~TermGroup (yypParser=0x2b58170, yymajor=<value optimized out>, yypminor=0x386a7f8) at queryp...