7#ifndef FIELDSCOREQUERY_H
8#define FIELDSCOREQUERY_H
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
virtual ~FieldScoreQuery()
Type
Type of score field, indicating how field values are interpreted/parsed.
Definition FieldScoreQuery.h:46
@ BYTE
Field values are interpreted as numeric byte values.
Definition FieldScoreQuery.h:48
@ DOUBLE
Field values are interpreted as numeric double values.
Definition FieldScoreQuery.h:54
@ INT
Field values are interpreted as numeric integer values.
Definition FieldScoreQuery.h:51
FieldScoreQuery(const String &field, Type type)
Create a FieldScoreQuery - a query that scores each document as the value of the numeric input field....
static ValueSourcePtr getValueSource(const String &field, Type type)
Create the appropriate (cached) field value source.
ValueSourceQuery(const ValueSourcePtr &valSrc)
Create a value source query.
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< ValueSource > ValueSourcePtr
Definition LuceneTypes.h:476