[Xapian-discuss] QueryParser and stemming
ivar at imaker.no
ivar at imaker.no
Tue Nov 15 12:43:50 GMT 2005
Hello ,
when I try to stem a query using the following code the phrase does not
seem to be stemmed. I use Xapian version 0.9.2.
pqp=new QueryParser();
Stem stem(sLang); //Language tried is Norwegian
pqp->set_stemmer(stem);
pqp->set_database(*_pdatabase);
pqp->set_default_op(Query::OP_AND);
//Set the enquire
Query p=pqp->parse_query(_sXapian);
When I try to stem using the stem class and stem_word is works.
Does not Query Parser work properly for stemming ?
Best regards,
IB
More information about the Xapian-discuss
mailing list