xapian-core
1.4.26
|
Test collapsing during the match. More...
#include <config.h>
#include "api_collapse.h"
#include <xapian.h>
#include "apitest.h"
#include "testutils.h"
Go to the source code of this file.
Functions | |
DEFINE_TESTCASE (collapsekey5, backend) | |
Simple test of collapsing with collapse_max > 1. More... | |
Test collapsing during the match.
Definition in file api_collapse.cc.
DEFINE_TESTCASE | ( | collapsekey5 | , |
backend | |||
) |
Simple test of collapsing with collapse_max > 1.
Definition at line 33 of file api_collapse.cc.
References Xapian::MSet::begin(), Xapian::MSet::end(), get_database(), Xapian::Database::get_doccount(), Xapian::Database::get_document(), Xapian::Enquire::get_mset(), Xapian::Document::get_value(), Xapian::Enquire::set_collapse_key(), Xapian::Enquire::set_query(), Xapian::MSet::size(), TEST, TEST_EQUAL, and tout.