7 #ifndef SPANFIRSTQUERY_H
8 #define SPANFIRSTQUERY_H
37 virtual String getField();
38 virtual String toString(
const String& field);
40 virtual void extractTerms(SetTerm terms);
45 virtual int32_t hashCode();
47 friend class FirstSpans;
virtual String toString()
Prints a query to a string.
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
boost::shared_ptr< SpanQuery > SpanQueryPtr
Definition: LuceneTypes.h:450
Matches spans near the beginning of a field.
Definition: SpanFirstQuery.h:16
boost::shared_ptr< Query > QueryPtr
Definition: LuceneTypes.h:420
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157
boost::shared_ptr< Spans > SpansPtr
Definition: LuceneTypes.h:453
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
Base class for span-based queries.
Definition: SpanQuery.h:15
int32_t end
Definition: SpanFirstQuery.h:26