<div>Olly,</div>
<div> </div>
<div>There is no error but no change in result either ... so I thought that my syntax is wrong ... </div>
<div> </div>
<div>search for hiking does not return any results:</div>
<div><a href="http://nitra.net/cgi-bin/hladaj.cgi?a=q&q=hiking&c=sk">http://nitra.net/cgi-bin/hladaj.cgi?a=q&q=hiking&c=sk</a></div>
<div> </div>
<div>search for hike return result including hiking:</div>
<div><a href="http://nitra.net/cgi-bin/hladaj.cgi?a=q&q=hike&c=sk">http://nitra.net/cgi-bin/hladaj.cgi?a=q&q=hike&c=sk</a></div>
<div> </div>
<div>#--------- using the following implementation ----------#</div>
<div>my $db = Search::Xapian::Database->new( '/indexdatabase' );<br>my $qp = Search::Xapian::QueryParser->new();<br>$qp->set_stemming_strategy(STEM_NONE);<br>my $enq = $db->enquire($qp->parse_query($terms));
<br>my $total = $db->get_termfreq($terms);</div>
<div> </div>
<div> </div>
<div>Kevin</div>
<div><br><br> </div>
<div><span class="gmail_quote">On 3/9/06, <b class="gmail_sendername">Olly Betts</b> <<a href="mailto:olly@survex.com">olly@survex.com</a>> 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>> Yes I tried but I am nit sure if I understand the right syntax in Perl. Is
<br>> this one correct ? Because does not seems to work.<br><br>What's the error message?<br><br>> my $qp = Search::Xapian::QueryParser->new();<br>> $qp->set_stemming_strategy(STEM_NONE);<br><br>That looks right. Note you'll need Search::Xapian
<a href="http://0.9.2.4">0.9.2.4</a> for this.<br><br>Cheers,<br> Olly<br></blockquote></div><br>