Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

include/om/omtypes.h File Reference

Common types used. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Typedefs

typedef unsigned int om_docid
 A unique id for a document. More...

typedef om_docid om_doccount
 Type for counts of documents. More...

typedef int om_doccount_diff
 Type for signed difference between counts of documents. More...

typedef unsigned int om_termcount
 Type for counts of terms (eg, wdf, wqf). More...

typedef int om_termcount_diff
 Type for signed difference between counts of terms. More...

typedef unsigned int om_termpos
 Type for term positions within documents. More...

typedef int om_termpos_diff
 Type for signed difference between term positions. More...

typedef double om_doclength
 Type for (normalised) lengths of documents. More...

typedef unsigned int om_valueno
 Type for referring to the number of a value in document. More...

typedef int om_valueno_diff
 Type for signed difference between two om_valueno-s. More...

typedef double om_weight
 A calculated weight, for a term or document. More...

typedef int om_percent
 A percentage weight, for a term or document. More...

typedef unsigned int om_timeout
 Type for specifying a timeout. More...


Detailed Description

Common types used.


Typedef Documentation

typedef om_docid om_doccount
 

Type for counts of documents.

typedef int om_doccount_diff
 

Type for signed difference between counts of documents.

typedef unsigned int om_docid
 

A unique id for a document.

Document ids start at 1. A zero docid isn't valid, and may be used to indicate "no document".

typedef double om_doclength
 

Type for (normalised) lengths of documents.

typedef int om_percent
 

A percentage weight, for a term or document.

typedef unsigned int om_termcount
 

Type for counts of terms (eg, wdf, wqf).

typedef int om_termcount_diff
 

Type for signed difference between counts of terms.

typedef unsigned int om_termpos
 

Type for term positions within documents.

These start at 1. A value of 0 means that the positional information is not available for that term.

typedef int om_termpos_diff
 

Type for signed difference between term positions.

typedef unsigned int om_timeout
 

Type for specifying a timeout.

This refers to a time in microseconds: ie. a timeout value of 1000000 corresponds to a timeout of 1 second.

typedef unsigned int om_valueno
 

Type for referring to the number of a value in document.

typedef int om_valueno_diff
 

Type for signed difference between two om_valueno-s.

typedef double om_weight
 

A calculated weight, for a term or document.


Documentation for Xapian (version 0.6.3).
Generated on 24 Dec 2002 by Doxygen 1.2.15.