<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br><br><div><div id="SkyDrivePlaceholder"></div>&gt; On Thu, Dec 15, 2011 at 07:16:14AM +0800, Shen Li wrote:<br>&gt; &gt; I couldn't find where to make changes to enable stemming in<br>&gt; &gt; queryparser. I checked with queryparser.cc and<br>&gt; &gt; queryparser_internal.cc, but haven't find the exact piece of codes<br>&gt; &gt; which disabled stemming when default_op is OP_NEAR. So I guess maybe<br>&gt; &gt; someone here could offer some help, and I really appreciate your time!<br>&gt; <br>&gt; Look for add_positional_term() in queryparser/queryparser.lemony.<br>&gt; <br>&gt; You'll need to configure with --enable-maintainer-mode so that lemon<br>&gt; gets run to regenerate the parser code.<br>&gt; <br><br>Thank you very much for this help! I've found where should be changed. However, after I changed the queryparser/queryparser.lemony and configured with --enable-maintainer-mode, I couldn't go through the make process. The error message said:<br><br>administrator@xapian:~/source/xapian-core-1.2.7&gt; make<br>cd . &amp;&amp; ./preautoreconf<br>./preautoreconf: Warning: `weight/dir_contents' not found<br>&nbsp;cd . &amp;&amp; /bin/sh /home/administrator/source/xapian-core-1.2.7/missing --run automake-1.11 --gnu Makefile<br>/usr/bin/autoconf: line 492: exec: : not found<br>automake-1.11: /bin/sh failed with exit status: 1<br>make: *** [Makefile.in] Error 1<br><br>Then I also tried with a newly untarred xapian package and to configure with --enable-maintainer-mode, and then exactly same error happened again. So I'm wondering whether you have any suggestion about this, and really appreciate your kindly help!<br><br>Thanks,<br>Shen<br></div>                                               </div></body>
</html>