<div>Olly,</div>
<div>&nbsp;</div>
<div>There is no error but no change in result either ... so I thought that my syntax is wrong ... </div>
<div>&nbsp;</div>
<div>search for hiking does not return any results:</div>
<div><a href="http://nitra.net/cgi-bin/hladaj.cgi?a=q&amp;q=hiking&amp;c=sk">http://nitra.net/cgi-bin/hladaj.cgi?a=q&amp;q=hiking&amp;c=sk</a></div>
<div>&nbsp;</div>
<div>search for hike return result including hiking:</div>
<div><a href="http://nitra.net/cgi-bin/hladaj.cgi?a=q&amp;q=hike&amp;c=sk">http://nitra.net/cgi-bin/hladaj.cgi?a=q&amp;q=hike&amp;c=sk</a></div>
<div>&nbsp;</div>
<div>#--------- using the following implementation ----------#</div>
<div>my $db&nbsp;&nbsp;&nbsp; = Search::Xapian::Database-&gt;new( '/indexdatabase' );<br>my $qp&nbsp; &nbsp; = Search::Xapian::QueryParser-&gt;new();<br>$qp-&gt;set_stemming_strategy(STEM_NONE);<br>my $enq &nbsp; = $db-&gt;enquire($qp-&gt;parse_query($terms));
<br>my $total&nbsp; = $db-&gt;get_termfreq($terms);</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Kevin</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 3/9/06, <b class="gmail_sendername">Olly Betts</b> &lt;<a href="mailto:olly@survex.com">olly@survex.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Thu, Mar 09, 2006 at 08:37:10AM -0800, Kevin SoftDev wrote:<br>&gt; Yes I tried but I am nit sure if I understand the right syntax in Perl. Is
<br>&gt; this one correct ? Because does not seems to work.<br><br>What's the error message?<br><br>&gt; my $qp&nbsp;&nbsp;&nbsp;&nbsp;= Search::Xapian::QueryParser-&gt;new();<br>&gt; $qp-&gt;set_stemming_strategy(STEM_NONE);<br><br>That looks right.&nbsp;&nbsp;Note you'll need Search::Xapian 
<a href="http://0.9.2.4">0.9.2.4</a> for this.<br><br>Cheers,<br>&nbsp;&nbsp; Olly<br></blockquote></div><br>