Displaying 1 result from an estimated 1 matches for "stem_all_z".
Did you mean:
stem_all
2015 Jul 26
1
Get term from document by position
...ument. However if I adjust things (match the stemming strategy for TermGenerator to that for QueryParser), it still gives me the opening rather than a useful snippet.
Sorry, my mistake. The modified test.cpp file should be this (i just added
indexer.set_stemming_strategy(Xapian::TermGenerator::STEM_ALL_Z), line 34):
============= Begin of the modified test.cpp file=========
#include <xapian.h>
#include <iostream>
#include <string>
#include <cstdlib> // For exit().
#include <cstring>
#include <fstream>
class MyText
{
public:
std::string text_str;
void set_st...