Displaying 1 result from an estimated 1 matches for "zgrad".
Did you mean:
grad
2011 Mar 23
1
how to change the default operator?
...tried to change the default boolean operator by editing the file queryparser.h like this:
void set_default_op(Query::op OP_AND);
However, after rebuilding I tested it with the query "grad school" and it still worked with the OP_OR as default, like this:
Parsed query is: Xapian::Query((Zgrad:(pos=1) OR Zschool:(pos=2)))
Could somebody give me any clue about this? Is there any other file in the queryparser directory should I also edit, such as queryparser.cc?
Thanks for any idea!
Best,
Shen
-------------- next part --------------
An HTML attachment was scrubbed...
URL:...