Logo Search packages:      
Sourcecode: qt4-x11 version File versions

FieldDoc Class Reference

#include <FieldDoc.h>

Inheritance diagram for FieldDoc:

ScoreDoc

List of all members.


Detailed Description

Expert: A ScoreDoc which also contains information about how to sort the referenced document. In addition to the document number and score, this object contains an array of values for the document from the field(s) used to sort. For example, if the sort criteria was to sort by fields "a", "b" then "c", the fields object array will have three elements, corresponding respectively to the term values for the document in fields "a", "b" and "c". The class of each element in the array will be either Integer, Float or String depending on the type of values in the terms of each field.

See also:
ScoreDoc

TopFieldDocs

Definition at line 34 of file FieldDoc.h.


Public Member Functions

 FieldDoc (int32_t doc, float_t score, CL_NS(util)::Comparable **fields)
CL_NS(util) FieldDoc (int32_t doc, float_t score)
 FieldDoc (int32_t doc, float_t score, CL_NS(util)::Comparable **fields)
CL_NS(util) FieldDoc (int32_t doc, float_t score)

Public Attributes

int32_t doc
float_t score
struct ScoreDoc scoreDoc

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index