[Xapian-discuss] Total matches found and how to disable stemming.

Kevin SoftDev kevin.softdev at gmail.com
Tue Mar 7 16:57:24 GMT 2006


Hello,

1.) Please can somebody let me know what is the best way to find total
matches on  terms?

Perl example:

    my $db = Search::Xapian::Database->new( '/europa2' );
    my $qp = Search::Xapian::QueryParser->new();
    my $enq = $db->enquire($qp->parse_query($terms));

    #----- now at this point I want only to display matches from 0 - 25
    my @matches = $enq->matches(0, 25);

    # but what is the best wayt to find ahead, how many total matches we
have for the terms?


2.) How do I disable stemming. I think Xapian keep stemming terms despite my
terms are not in English.


Kevin
http://nitra.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.tartarus.org/pipermail/xapian-discuss/attachments/20060307/93b8035a/attachment-0001.htm


More information about the Xapian-discuss mailing list