#include <config.h>#include "api_db.h"#include <algorithm>#include <fstream>#include <map>#include <string>#include <vector>#include <xapian.h>#include "backendmanager.h"#include "backendmanager_local.h"#include "testsuite.h"#include "testutils.h"#include "unixcmds.h"#include "utils.h"#include "apitest.h"

Go to the source code of this file.
Classes | |
| class | myMatchDecider |
| class | myMatchDecider2 |
| class | MyWeight |
Functions | |
| static Xapian::Query | query (const string &t) |
| DEFINE_TESTCASE (termstats, backend) | |
| DEFINE_TESTCASE (stubdb1, backend &&!inmemory &&!remote) | |
| DEFINE_TESTCASE (stubdb2, backend &&!inmemory &&!remote) | |
| DEFINE_TESTCASE (stubdb3, backend &&!inmemory &&!remote) | |
| DEFINE_TESTCASE (stubdb4, backend &&!inmemory &&!remote) | |
| DEFINE_TESTCASE (stubdb5, backend &&!inmemory &&!remote) | |
| DEFINE_TESTCASE (stubdb6, inmemory) | |
| DEFINE_TESTCASE (matchdecider1, backend &&!remote) | |
| DEFINE_TESTCASE (matchdecider2, backend &&!remote) | |
| DEFINE_TESTCASE (matchdecider3, backend &&!remote) | |
| DEFINE_TESTCASE (msetiterator1, backend) | |
| DEFINE_TESTCASE (msetiterator2, backend) | |
| DEFINE_TESTCASE (msetiterator3, backend) | |
| DEFINE_TESTCASE (esetiterator1, backend) | |
| DEFINE_TESTCASE (esetiterator2, backend) | |
| DEFINE_TESTCASE (collapsekey1, backend) | |
| DEFINE_TESTCASE (collapsekey2, backend) | |
| DEFINE_TESTCASE (collapsekey3, backend) | |
| DEFINE_TESTCASE (collapsekey4, backend) | |
| DEFINE_TESTCASE (keepalive1, remote) | |
| DEFINE_TESTCASE (allterms1, backend) | |
| DEFINE_TESTCASE (allterms2, backend) | |
| DEFINE_TESTCASE (allterms3, backend) | |
| DEFINE_TESTCASE (allterms4, backend) | |
| DEFINE_TESTCASE (allterms5, backend) | |
| DEFINE_TESTCASE (allterms6, backend) | |
| DEFINE_TESTCASE (specialterms1, backend) | |
| DEFINE_TESTCASE (specialterms2, backend) | |
| DEFINE_TESTCASE (rsetmultidb2, backend &&!multi) | |
| DEFINE_TESTCASE (multiexpand1, backend &&!multi) | |
| DEFINE_TESTCASE (postlist1, backend) | |
| DEFINE_TESTCASE (postlist2, backend) | |
| DEFINE_TESTCASE (postlist3, backend) | |
| DEFINE_TESTCASE (postlist4, backend) | |
| DEFINE_TESTCASE (postlist5, backend) | |
| DEFINE_TESTCASE (postlist6, backend) | |
| DEFINE_TESTCASE (collfreq1, backend) | |
| DEFINE_TESTCASE (sortvalue1, backend) | |
| DEFINE_TESTCASE (consistency1, backend &&!remote) | |
| DEFINE_TESTCASE (flintdatabaseopeningerror1, flint) | |
| DEFINE_TESTCASE (flintdatabaseformaterror1, flint) | |
| Tests that appropriate error is thrown for database format change. | |
| DEFINE_TESTCASE (flintdatabaseformaterror2, flint) | |
| Test that an old database can be successfully overwritten when using. | |
| DEFINE_TESTCASE (flintdatabaseformaterror3, flint) | |
| DEFINE_TESTCASE (flintbackwardcompat1, flint) | |
| DEFINE_TESTCASE (flintbackwardcompat2, flint) | |
| DEFINE_TESTCASE (flintdatabaseopen1, flint) | |
| Test opening of a flint database. | |
| DEFINE_TESTCASE (sortrel1, backend) | |
| DEFINE_TESTCASE (netstats1, remote) | |
| DEFINE_TESTCASE (userweight1, backend &&!remote) | |
| DEFINE_TESTCASE (matchall1, backend) | |
| DEFINE_TESTCASE (valuesetmatchdecider2, backend &&!remote) | |
| DEFINE_TESTCASE | ( | valuesetmatchdecider2 | , | |
| backend &&! | remote | |||
| ) |
Definition at line 1962 of file api_db.cc.
References Xapian::ValueSetMatchDecider::add_value(), get_database(), Xapian::Enquire::get_mset(), mset_expect_order(), and Xapian::Enquire::set_query().
| DEFINE_TESTCASE | ( | matchall1 | , | |
| backend | ||||
| ) |
Definition at line 1937 of file api_db.cc.
References get_database(), Xapian::Database::get_doccount(), Xapian::MSet::get_matches_lower_bound(), Xapian::Enquire::get_mset(), Xapian::MSet::get_uncollapsed_matches_lower_bound(), Xapian::Query::MatchAll, Xapian::Query::OP_OR, Xapian::Enquire::set_query(), Xapian::MSet::size(), TEST, and TEST_EQUAL.
| DEFINE_TESTCASE | ( | userweight1 | , | |
| backend &&! | remote | |||
| ) |
Definition at line 1911 of file api_db.cc.
References Xapian::MSet::begin(), Xapian::MSet::end(), get_database(), Xapian::Enquire::get_matching_terms_begin(), Xapian::Enquire::get_matching_terms_end(), Xapian::Enquire::get_mset(), Xapian::Query::OP_OR, query(), Xapian::Enquire::set_query(), Xapian::Enquire::set_weighting_scheme(), and TEST_EQUAL.
| DEFINE_TESTCASE | ( | netstats1 | , | |
| remote | ||||
| ) |
Definition at line 1809 of file api_db.cc.
References Xapian::Database::add_database(), Xapian::RSet::add_document(), BackendManagerLocal, get_database(), Xapian::MSet::get_matches_estimated(), Xapian::MSet::get_matches_lower_bound(), Xapian::MSet::get_matches_upper_bound(), Xapian::MSet::get_max_attained(), Xapian::Enquire::get_mset(), test_driver::get_srcdir(), mset_range_is_same(), Xapian::Query::OP_OR, query(), Xapian::Enquire::set_query(), Xapian::MSet::size(), TEST, and TEST_EQUAL.
| DEFINE_TESTCASE | ( | sortrel1 | , | |
| backend | ||||
| ) |
Definition at line 1683 of file api_db.cc.
References Xapian::Enquire::ASCENDING, Xapian::Enquire::DESCENDING, get_database(), Xapian::Enquire::get_mset(), Xapian::Enquire::set_docid_order(), Xapian::Enquire::set_query(), Xapian::Enquire::set_sort_by_relevance_then_value(), Xapian::Enquire::set_sort_by_value(), Xapian::Enquire::set_sort_by_value_then_relevance(), Xapian::MSet::size(), and TEST_EQUAL.
| DEFINE_TESTCASE | ( | flintdatabaseopen1 | , | |
| flint | ||||
| ) |
Test opening of a flint database.
Definition at line 1623 of file api_db.cc.
References Xapian::DB_CREATE, Xapian::DB_CREATE_OR_OPEN, Xapian::DB_CREATE_OR_OVERWRITE, Xapian::DB_OPEN, mkdir(), Xapian::Flint::open(), rm_rf(), and TEST_EXCEPTION.
| DEFINE_TESTCASE | ( | flintbackwardcompat2 | , | |
| flint | ||||
| ) |
Definition at line 1595 of file api_db.cc.
References cp_R(), Xapian::DB_OPEN, Xapian::Database::get_doccount(), test_driver::get_srcdir(), mkdir(), rm_rf(), and TEST_EQUAL.
| DEFINE_TESTCASE | ( | flintbackwardcompat1 | , | |
| flint | ||||
| ) |
Definition at line 1567 of file api_db.cc.
References cp_R(), Xapian::DB_OPEN, Xapian::Database::get_doccount(), test_driver::get_srcdir(), mkdir(), rm_rf(), and TEST_EQUAL.
| DEFINE_TESTCASE | ( | flintdatabaseformaterror3 | , | |
| flint | ||||
| ) |
Definition at line 1544 of file api_db.cc.
References cp_R(), Xapian::DB_CREATE_OR_OPEN, Xapian::DB_CREATE_OR_OVERWRITE, test_driver::get_srcdir(), mkdir(), rm_rf(), and TEST_EXCEPTION.
| DEFINE_TESTCASE | ( | flintdatabaseformaterror2 | , | |
| flint | ||||
| ) |
Test that an old database can be successfully overwritten when using.
Definition at line 1520 of file api_db.cc.
References cp_R(), Xapian::DB_CREATE_OR_OVERWRITE, test_driver::get_srcdir(), mkdir(), Xapian::Flint::open(), and rm_rf().
| DEFINE_TESTCASE | ( | flintdatabaseformaterror1 | , | |
| flint | ||||
| ) |
Tests that appropriate error is thrown for database format change.
Definition at line 1496 of file api_db.cc.
References test_driver::get_srcdir(), Xapian::Flint::open(), TEST_EXCEPTION, and unlink().
| DEFINE_TESTCASE | ( | flintdatabaseopeningerror1 | , | |
| flint | ||||
| ) |
Definition at line 1466 of file api_db.cc.
References Xapian::DB_CREATE, Xapian::DB_CREATE_OR_OPEN, Xapian::DB_CREATE_OR_OVERWRITE, Xapian::DB_OPEN, mkdir(), Xapian::Flint::open(), TEST_EXCEPTION, and touch().
| DEFINE_TESTCASE | ( | consistency1 | , | |
| backend &&! | remote | |||
| ) |
Definition at line 1432 of file api_db.cc.
References get_database(), Xapian::Enquire::get_mset(), Xapian::Query::OP_OR, Xapian::Enquire::set_query(), Xapian::MSet::size(), SKIP_TEST, TEST, TEST_EQUAL, and TEST_EQUAL_DOUBLE.
| DEFINE_TESTCASE | ( | sortvalue1 | , | |
| backend | ||||
| ) |
Definition at line 1386 of file api_db.cc.
References Xapian::MSet::begin(), Xapian::Enquire::DESCENDING, Xapian::MSet::end(), FAIL_TEST, get_database(), Xapian::Enquire::get_mset(), Xapian::Enquire::set_docid_order(), Xapian::Enquire::set_query(), Xapian::Enquire::set_sort_by_value(), Xapian::MSet::size(), TEST, TEST_EQUAL, and tout.
| DEFINE_TESTCASE | ( | collfreq1 | , | |
| backend | ||||
| ) |
Definition at line 1361 of file api_db.cc.
References Xapian::Database::add_database(), Xapian::Database::get_collection_freq(), get_database(), and TEST_EQUAL.
| DEFINE_TESTCASE | ( | postlist6 | , | |
| backend | ||||
| ) |
Definition at line 1348 of file api_db.cc.
References get_database(), Xapian::Database::get_doclength(), Xapian::PostingIterator::get_doclength(), Xapian::PostingIterator::get_wdf(), Xapian::Database::postlist_begin(), Xapian::Database::postlist_end(), TEST, TEST_EQUAL, and TEST_REL.
| DEFINE_TESTCASE | ( | postlist5 | , | |
| backend | ||||
| ) |
Definition at line 1331 of file api_db.cc.
References Xapian::Database::get_avlength(), get_database(), Xapian::Database::postlist_begin(), Xapian::Database::postlist_end(), TEST_EQUAL, and TEST_EQUAL_DOUBLE.
| DEFINE_TESTCASE | ( | postlist4 | , | |
| backend | ||||
| ) |
Definition at line 1321 of file api_db.cc.
References get_database(), Xapian::Database::postlist_begin(), Xapian::Database::postlist_end(), Xapian::PostingIterator::skip_to(), and TEST.
| DEFINE_TESTCASE | ( | postlist3 | , | |
| backend | ||||
| ) |
Definition at line 1301 of file api_db.cc.
References get_database(), Xapian::Database::postlist_begin(), Xapian::Database::postlist_end(), and TEST_EQUAL.
| DEFINE_TESTCASE | ( | postlist2 | , | |
| backend | ||||
| ) |
Definition at line 1260 of file api_db.cc.
References get_database(), Xapian::PostingIterator::get_description(), Xapian::Database::postlist_begin(), Xapian::Database::postlist_end(), TEST, TEST_EQUAL, TEST_NOT_EQUAL, and TEST_STRINGS_EQUAL.
| DEFINE_TESTCASE | ( | postlist1 | , | |
| backend | ||||
| ) |
Definition at line 1242 of file api_db.cc.
References get_database(), Xapian::Database::postlist_begin(), Xapian::Database::postlist_end(), TEST_EQUAL, and TEST_NOT_EQUAL.
| DEFINE_TESTCASE | ( | multiexpand1 | , | |
| backend &&! | multi | |||
| ) |
Definition at line 1185 of file api_db.cc.
References Xapian::Database::add_database(), Xapian::RSet::add_document(), Xapian::ESet::begin(), Xapian::ESet::end(), get_database(), Xapian::Enquire::get_eset(), Xapian::ESetIterator::get_weight(), Xapian::ESet::size(), TEST, TEST_EQUAL, and Xapian::Enquire::USE_EXACT_TERMFREQ.
| DEFINE_TESTCASE | ( | rsetmultidb2 | , | |
| backend &&! | multi | |||
| ) |
Definition at line 1148 of file api_db.cc.
References Xapian::Database::add_database(), Xapian::RSet::add_document(), get_database(), Xapian::Enquire::get_mset(), mset_expect_order(), mset_range_is_same_weights(), query(), Xapian::Enquire::set_query(), TEST, and TEST_NOT_EQUAL.
| DEFINE_TESTCASE | ( | specialterms2 | , | |
| backend | ||||
| ) |
Definition at line 1120 of file api_db.cc.
References Xapian::Database::allterms_begin(), Xapian::Database::allterms_end(), get_database(), TEST_EQUAL, and TEST_NOT_EQUAL.
| DEFINE_TESTCASE | ( | specialterms1 | , | |
| backend | ||||
| ) |
Definition at line 1082 of file api_db.cc.
References Xapian::MSet::begin(), Xapian::MSet::end(), get_database(), Xapian::Enquire::get_mset(), Xapian::Enquire::set_query(), stemmer, TEST, TEST_EQUAL, TEST_MSET_SIZE, and TEST_NOT_EQUAL.
| DEFINE_TESTCASE | ( | allterms6 | , | |
| backend | ||||
| ) |
Definition at line 1036 of file api_db.cc.
References Xapian::Database::add_database(), Xapian::Database::allterms_begin(), Xapian::Database::allterms_end(), get_database(), Xapian::TermIterator::skip_to(), TEST, and TEST_EQUAL.
| DEFINE_TESTCASE | ( | allterms5 | , | |
| backend | ||||
| ) |
Definition at line 1024 of file api_db.cc.
References Xapian::Database::add_database(), Xapian::Database::allterms_begin(), Xapian::Database::allterms_end(), get_database(), Xapian::TermIterator::skip_to(), TEST, and TEST_EQUAL.
| DEFINE_TESTCASE | ( | allterms4 | , | |
| backend | ||||
| ) |
Definition at line 1007 of file api_db.cc.
References Xapian::Database::allterms_begin(), Xapian::Database::allterms_end(), get_database(), Xapian::TermIterator::get_termfreq(), and TEST.
| DEFINE_TESTCASE | ( | allterms3 | , | |
| backend | ||||
| ) |
Definition at line 994 of file api_db.cc.
References Xapian::Database::add_database(), Xapian::Database::allterms_begin(), Xapian::Database::allterms_end(), get_database(), Xapian::TermIterator::skip_to(), and TEST.
| DEFINE_TESTCASE | ( | allterms2 | , | |
| backend | ||||
| ) |
Definition at line 952 of file api_db.cc.
References Xapian::Database::add_database(), Xapian::Database::allterms_begin(), Xapian::Database::allterms_end(), get_database(), Xapian::TermIterator::get_termfreq(), and TEST.
| DEFINE_TESTCASE | ( | allterms1 | , | |
| backend | ||||
| ) |
Definition at line 904 of file api_db.cc.
References Xapian::Database::allterms_begin(), Xapian::Database::allterms_end(), get_database(), Xapian::TermIterator::get_termfreq(), TEST, TEST_EQUAL, tout, and verbose.
| DEFINE_TESTCASE | ( | keepalive1 | , | |
| remote | ||||
| ) |
Definition at line 882 of file api_db.cc.
References Xapian::Enquire::get_mset(), get_remote_database(), Xapian::Database::keep_alive(), Xapian::Enquire::set_query(), RealTime::sleep(), and TEST_EXCEPTION.
| DEFINE_TESTCASE | ( | collapsekey4 | , | |
| backend | ||||
| ) |
Definition at line 854 of file api_db.cc.
References Xapian::MSet::begin(), Xapian::MSet::end(), get_database(), Xapian::MSetIterator::get_document(), Xapian::MSet::get_matches_lower_bound(), Xapian::MSet::get_matches_upper_bound(), Xapian::Enquire::get_mset(), Xapian::Document::get_value(), Xapian::Enquire::set_collapse_key(), Xapian::Enquire::set_query(), TEST, and TEST_AND_EXPLAIN.
| DEFINE_TESTCASE | ( | collapsekey3 | , | |
| backend | ||||
| ) |
Definition at line 803 of file api_db.cc.
References Xapian::MSet::begin(), Xapian::MSet::end(), get_database(), Xapian::MSetIterator::get_document(), Xapian::MSet::get_matches_lower_bound(), Xapian::MSet::get_matches_upper_bound(), Xapian::Enquire::get_mset(), Xapian::Document::get_value(), Xapian::Enquire::set_collapse_key(), Xapian::Enquire::set_query(), TEST, TEST_AND_EXPLAIN, and TEST_EQUAL.
| DEFINE_TESTCASE | ( | collapsekey2 | , | |
| backend | ||||
| ) |
Definition at line 777 of file api_db.cc.
References get_database(), Xapian::MSet::get_matches_lower_bound(), Xapian::MSet::get_matches_upper_bound(), Xapian::Enquire::get_mset(), Xapian::Enquire::set_collapse_key(), Xapian::Enquire::set_query(), SKIP_TEST, TEST_EQUAL, and TEST_REL.
| DEFINE_TESTCASE | ( | collapsekey1 | , | |
| backend | ||||
| ) |
Definition at line 749 of file api_db.cc.
References Xapian::MSet::begin(), Xapian::MSet::end(), get_database(), Xapian::MSetIterator::get_document(), Xapian::Enquire::get_mset(), Xapian::Document::get_value(), Xapian::Enquire::set_collapse_key(), Xapian::Enquire::set_query(), Xapian::MSet::size(), TEST, and TEST_AND_EXPLAIN.
| DEFINE_TESTCASE | ( | esetiterator2 | , | |
| backend | ||||
| ) |
Definition at line 721 of file api_db.cc.
References Xapian::ESet::begin(), Xapian::MSet::begin(), Xapian::ESet::end(), get_database(), Xapian::Enquire::get_eset(), Xapian::Enquire::get_mset(), Xapian::Enquire::set_query(), Xapian::MSet::size(), TEST, and TEST_EQUAL.
| DEFINE_TESTCASE | ( | esetiterator1 | , | |
| backend | ||||
| ) |
Definition at line 672 of file api_db.cc.
References Xapian::ESet::begin(), Xapian::MSet::begin(), Xapian::ESet::end(), get_database(), Xapian::Enquire::get_eset(), Xapian::Enquire::get_mset(), Xapian::Enquire::set_query(), Xapian::MSet::size(), TEST, TEST_EQUAL, and TEST_NOT_EQUAL.
| DEFINE_TESTCASE | ( | msetiterator3 | , | |
| backend | ||||
| ) |
Definition at line 657 of file api_db.cc.
References Xapian::MSet::begin(), Xapian::MSet::empty(), get_database(), Xapian::Enquire::get_mset(), Xapian::Enquire::set_query(), and TEST.
| DEFINE_TESTCASE | ( | msetiterator2 | , | |
| backend | ||||
| ) |
Definition at line 637 of file api_db.cc.
References Xapian::MSet::begin(), Xapian::MSet::end(), get_database(), Xapian::Enquire::get_mset(), Xapian::Enquire::set_query(), and TEST_EQUAL.
| DEFINE_TESTCASE | ( | msetiterator1 | , | |
| backend | ||||
| ) |
Definition at line 592 of file api_db.cc.
References Xapian::MSet::begin(), Xapian::MSet::end(), get_database(), Xapian::Enquire::get_mset(), Xapian::Enquire::set_query(), TEST_EQUAL, and TEST_NOT_EQUAL.
| DEFINE_TESTCASE | ( | matchdecider3 | , | |
| backend &&! | remote | |||
| ) |
Definition at line 549 of file api_db.cc.
References get_database(), Xapian::Database::get_doccount(), Xapian::MSet::get_matches_estimated(), Xapian::MSet::get_matches_lower_bound(), Xapian::MSet::get_matches_upper_bound(), Xapian::Enquire::get_mset(), Xapian::MSet::get_uncollapsed_matches_estimated(), Xapian::MSet::get_uncollapsed_matches_lower_bound(), Xapian::MSet::get_uncollapsed_matches_upper_bound(), Xapian::Enquire::set_collapse_key(), Xapian::Enquire::set_query(), Xapian::Enquire::set_sort_by_value(), Xapian::MSet::size(), TEST_EQUAL, and TEST_REL.
| DEFINE_TESTCASE | ( | matchdecider2 | , | |
| backend &&! | remote | |||
| ) |
Definition at line 507 of file api_db.cc.
References Xapian::MSet::begin(), Xapian::MSet::end(), get_database(), Xapian::Database::get_document(), Xapian::Database::get_lastdocid(), Xapian::Enquire::get_mset(), Xapian::Enquire::set_query(), Xapian::MSet::size(), TEST, and TEST_EQUAL.
| DEFINE_TESTCASE | ( | matchdecider1 | , | |
| backend &&! | remote | |||
| ) |
Definition at line 378 of file api_db.cc.
References Xapian::BAD_VALUENO, Xapian::MSet::begin(), Xapian::MSet::end(), get_database(), Xapian::Database::get_document(), Xapian::Database::get_lastdocid(), Xapian::MSet::get_matches_estimated(), Xapian::MSet::get_matches_lower_bound(), Xapian::MSet::get_matches_upper_bound(), Xapian::Enquire::get_mset(), Xapian::MSet::get_uncollapsed_matches_estimated(), Xapian::MSet::get_uncollapsed_matches_lower_bound(), Xapian::MSet::get_uncollapsed_matches_upper_bound(), Xapian::Enquire::set_collapse_key(), Xapian::Enquire::set_cutoff(), Xapian::Enquire::set_query(), Xapian::MSet::size(), TEST, TEST_EQUAL, and TEST_REL.
| DEFINE_TESTCASE | ( | stubdb6 | , | |
| inmemory | ||||
| ) |
Definition at line 184 of file api_db.cc.
References Xapian::WritableDatabase::add_document(), Xapian::DB_OPEN, Xapian::MSet::empty(), Xapian::Database::get_doccount(), mkdir(), Xapian::Auto::open_stub(), TEST, and TEST_EQUAL.
| DEFINE_TESTCASE | ( | stubdb5 | , | |
| backend &&!inmemory &&! | remote | |||
| ) |
Definition at line 164 of file api_db.cc.
References get_database_path(), mkdir(), Xapian::Auto::open_stub(), TEST, and TEST_EXCEPTION.
| DEFINE_TESTCASE | ( | stubdb4 | , | |
| backend &&!inmemory &&! | remote | |||
| ) |
Definition at line 144 of file api_db.cc.
References mkdir(), Xapian::Auto::open_stub(), TEST, and TEST_EXCEPTION.
| DEFINE_TESTCASE | ( | stubdb3 | , | |
| backend &&!inmemory &&! | remote | |||
| ) |
Definition at line 124 of file api_db.cc.
References get_database_path(), mkdir(), Xapian::Auto::open_stub(), TEST, and TEST_EXCEPTION.
| DEFINE_TESTCASE | ( | stubdb2 | , | |
| backend &&!inmemory &&! | remote | |||
| ) |
Definition at line 97 of file api_db.cc.
References get_database_path(), Xapian::Enquire::get_mset(), BackendManager::get_xapian_progsrv_command(), mkdir(), Xapian::Auto::open_stub(), Xapian::Enquire::set_query(), and TEST.
| DEFINE_TESTCASE | ( | stubdb1 | , | |
| backend &&!inmemory &&! | remote | |||
| ) |
Definition at line 71 of file api_db.cc.
References get_database_path(), Xapian::Enquire::get_mset(), mkdir(), Xapian::Auto::open_stub(), Xapian::Enquire::set_query(), and TEST.
| DEFINE_TESTCASE | ( | termstats | , | |
| backend | ||||
| ) |
Definition at line 57 of file api_db.cc.
References get_database(), Xapian::Database::get_termfreq(), Xapian::Database::term_exists(), TEST, and TEST_EQUAL.
| static Xapian::Query query | ( | const string & | t | ) | [static] |