[Xapian-discuss] how can i use stopwords?

Sascha.Wojewsky at heinze.de Sascha.Wojewsky at heinze.de
Wed Mar 12 09:26:45 GMT 2008


Hi,

I do not understand the stopword function...

I've set the termgenerator like this:
$self->{'Stemmer'} = new Search::Xapian::Stem(german2);
$self->{'Stopper'} = new Search::Xapian::SimpleStopper();
$self->{'TermGenerator'} = new Search::Xapian::TermGenerator;
$self->{'TermGenerator'}->set_stemmer( $self->{'Stemmer'} );
$self->{'TermGenerator'}->set_stopper( $self->{'Stopper'} );

I've thought that xapian now exclude the stopwords automatic by the stemming-language.

Could someone explain the stopword function?

Thanks.

Greetings

Sascha



More information about the Xapian-discuss mailing list