examples/simplesearch.cc File Reference

Simple command-line search utility. More...

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

Include dependency graph for simplesearch.cc:

Go to the source code of this file.

Functions

int main (int argc, char **argv)


Detailed Description

Simple command-line search utility.

See "quest" for a more sophisticated example.

Definition in file simplesearch.cc.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 33 of file simplesearch.cc.

References Xapian::MSet::begin(), Xapian::MSet::end(), Xapian::Query::get_description(), Xapian::MSet::get_matches_estimated(), Xapian::Enquire::get_mset(), Xapian::QueryParser::parse_query(), query(), Xapian::QueryParser::set_database(), Xapian::Enquire::set_query(), Xapian::QueryParser::set_stemmer(), Xapian::QueryParser::set_stemming_strategy(), Xapian::MSet::size(), Xapian::QueryParser::STEM_SOME, and stemmer.


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