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.
Define XAPIAN_DEPRECATED() and related macros.
The Xapian namespace contains public interfaces for the Xapian library.
const valueno BAD_VALUENO
Reserved value to indicate "no valueno".
XAPIAN_TERMPOS_BASE_TYPE termpos_diff
A signed difference between two term positions.
int percent
The percentage score for a document in an MSet.
XAPIAN_DOCID_BASE_TYPE doccount_diff
A signed difference between two counts of documents.
XAPIAN_TERMCOUNT_BASE_TYPE termcount_diff
A signed difference between two counts of terms.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
XAPIAN_REVISION_TYPE rev
Revision number of a database.
double doclength
A normalised document length.
unsigned valueno
The number for a value slot in a document.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
double weight
The weight of a document or term.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
unsigned timeout
A timeout value in milliseconds.
int valueno_diff
A signed difference between two value slot numbers.
unsigned XAPIAN_TERMPOS_BASE_TYPE termpos
A term position within a document or query.
XAPIAN_TOTALLENGTH_TYPE totallength
The total length of all documents in a database.
#define XAPIAN_DEPRECATED(X)
Define preprocessor symbols for the library version.
#define XAPIAN_DOCID_BASE_TYPE
Base (signed) type for Xapian::docid and related types.
#define XAPIAN_TOTALLENGTH_TYPE
Type for returning total document length.
#define XAPIAN_TERMCOUNT_BASE_TYPE
Base (signed) type for Xapian::termcount and related types.
#define XAPIAN_REVISION_TYPE
Underlying type for Xapian::rev.
#define XAPIAN_TERMPOS_BASE_TYPE
Base (signed) type for Xapian::termpos.