examples/simpleexpand.cc File Reference

Simple example program demonstrating query expansion. More...

#include <xapian.h>
#include <iostream>
#include <string>
#include <stdlib.h>
#include <string.h>

Include dependency graph for simpleexpand.cc:

Go to the source code of this file.

Functions

int main (int argc, char **argv)


Detailed Description

Simple example program demonstrating query expansion.

Definition in file simpleexpand.cc.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 32 of file simpleexpand.cc.

References Xapian::RSet::add_document(), atoi(), Xapian::ESet::begin(), Xapian::MSet::begin(), Xapian::RSet::empty(), Xapian::ESet::end(), Xapian::MSet::end(), Xapian::Query::get_description(), Xapian::Enquire::get_eset(), Xapian::MSet::get_matches_estimated(), Xapian::Enquire::get_mset(), Xapian::ESetIterator::get_weight(), Xapian::QueryParser::parse_query(), query(), Xapian::QueryParser::set_database(), Xapian::Enquire::set_query(), Xapian::QueryParser::set_stemmer(), Xapian::QueryParser::set_stemming_strategy(), Xapian::QueryParser::STEM_SOME, and stemmer.


Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.