21 #ifndef XAPIAN_INCLUDED_TYPES_H 22 #define XAPIAN_INCLUDED_TYPES_H 24 #if !defined XAPIAN_IN_XAPIAN_H && !defined XAPIAN_LIB_BUILD 25 # error Never use <xapian/types.h> directly; include <xapian.h> instead. The Xapian namespace contains public interfaces for the Xapian library.
XAPIAN_REVISION_TYPE rev
Revision number of a database.
unsigned timeout
A timeout value in milliseconds.
#define XAPIAN_TERMPOS_BASE_TYPE
Base (signed) type for Xapian::termpos.
double weight
The weight of a document or term.
XAPIAN_TOTALLENGTH_TYPE totallength
The total length of all documents in a database.
Define XAPIAN_DEPRECATED() and related macros.
#define XAPIAN_DEPRECATED(X)
int valueno_diff
A signed difference between two value slot numbers.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
XAPIAN_TERMPOS_BASE_TYPE termpos_diff
A signed difference between two term positions.
XAPIAN_DOCID_BASE_TYPE doccount_diff
A signed difference between two counts of documents.
double doclength
A normalised document length.
#define XAPIAN_REVISION_TYPE
Underlying type for Xapian::rev.
int percent
The percentage score for a document in an MSet.
Define preprocessor symbols for the library version.
XAPIAN_TERMCOUNT_BASE_TYPE termcount_diff
A signed difference between two counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
unsigned valueno
The number for a value slot in a document.
unsigned XAPIAN_TERMPOS_BASE_TYPE termpos
A term position within a document or query.
#define XAPIAN_DOCID_BASE_TYPE
Base (signed) type for Xapian::docid and related types.
#define XAPIAN_TOTALLENGTH_TYPE
Type for returning total document length.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
const valueno BAD_VALUENO
Reserved value to indicate "no valueno".
#define XAPIAN_TERMCOUNT_BASE_TYPE
Base (signed) type for Xapian::termcount and related types.