<div>Hello,</div>
<div> </div>
<div>1.) Please can somebody let me know what is the best way to find total matches on terms?</div>
<div> </div>
<div>Perl example:</div>
<div> </div>
<div> my $db = Search::Xapian::Database->new( '/europa2' );</div>
<div> my $qp = Search::Xapian::QueryParser->new();<br> my $enq = $db->enquire($qp->parse_query($terms));<br> </div>
<div> #----- now at this point I want only to display matches from 0 - 25</div>
<div> my @matches = $enq->matches(0, 25);</div>
<div> </div>
<div> # but what is the best wayt to find ahead, how many total matches we have for the terms?</div>
<div> </div>
<div> </div>
<div>2.) How do I disable stemming. I think Xapian keep stemming terms despite my terms are not in English.</div>
<div> </div>
<div> </div>
<div>Kevin</div>
<div><a href="http://nitra.net">http://nitra.net</a></div>
<div> </div>