<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi all,<br><br>I'm sorry to bother you guys with such a rookie question. I tried to change the default boolean operator by editing the file queryparser.h like this:<br><br>void set_default_op(Query::op OP_AND);<br><br>However, after rebuilding I tested it with the query "grad school" and it still worked with the OP_OR as default, like this:<br><br>Parsed query is: Xapian::Query((Zgrad:(pos=1) OR Zschool:(pos=2)))<br><br>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?<br><br>Thanks for any idea!<br><br>Best,<br>Shen<br><br><br>                                               </body>
</html>