Displaying 1 result from an estimated 1 matches for "_pdatabase".
Did you mean:
_database
2005 Jun 09
1
Query parser and stemming of norwegian letters
...get an explanation of the following.
Running the following code:
....
pqp=new QueryParser();
Stem stem("norwegian");
cout << "DEBUG " << stem.stem_word(_sXapian)<< endl;
pqp->set_stemmer(stem);
pqp->set_database(*_pdatabase);
pqp->set_default_op(Query::OP_AND);
//Set the enquire
Query p=pqp->parse_query(_sXapian);
cout << " Query " << string(bufSL) << p.get_description() << endl;
---
gives the follwing output
DEBUG h?y
Query norwegianXapian::...