#define LUCENE_INTERFACE(Name)
Definition LuceneObject.h:19
Synonymous with Field.
Definition Fieldable.h:20
virtual bool isTermVectorStored()=0
True if the term or terms used to index this field are stored as a term vector, available from IndexR...
virtual bool isLazy()=0
Indicates whether a Field is Lazy or not. The semantics of Lazy loading are such that if a Field is l...
virtual bool getOmitTermFreqAndPositions()=0
virtual void setOmitNorms(bool omitNorms)=0
If set, omit normalization factors associated with this indexed field. This effectively disables inde...
virtual TokenStreamPtr tokenStreamValue()=0
The TokenStream for this field to be used when indexing, or null.
virtual ReaderPtr readerValue()=0
The value of the field as a Reader, which can be used at index time to generate indexed tokens.
virtual int32_t getBinaryLength()=0
Returns length of byte[] segment that is used as value, if Field is not binary returned value is unde...
virtual bool isIndexed()=0
True if the value of the field is to be indexed, so that it may be searched on.
virtual void setOmitTermFreqAndPositions(bool omitTermFreqAndPositions)=0
If set, omit term freq, positions and payloads from postings for this field.
virtual int32_t getBinaryOffset()=0
Returns offset into byte[] segment that is used as value, if Field is not binary returned value is un...
virtual ByteArray getBinaryValue(ByteArray result)=0
Return the raw byte[] for the binary field. Note that you must also call getBinaryLength and getBinar...
virtual ByteArray getBinaryValue()=0
Return the raw byte[] for the binary field. Note that you must also call getBinaryLength and getBinar...
virtual bool isBinary()=0
True if the value of the field is stored as binary.
virtual bool getOmitNorms()=0
True if norms are omitted for this indexed field.
virtual ~Fieldable()
Definition Fieldable.h:23
virtual double getBoost()=0
Returns the boost factor for hits for this field.
virtual bool isTokenized()=0
True if the value of the field should be tokenized as text prior to indexing. Un-tokenized fields are...
virtual String name()=0
Returns the name of the field as an interned string. For example "date", "title", "body",...
virtual bool isStorePositionWithTermVector()=0
True if terms are stored as term vector together with their token positions.
virtual String stringValue()=0
The value of the field as a String, or empty.
virtual void setBoost(double boost)=0
Sets the boost factor hits on this field. This value will be multiplied into the score of all hits on...
virtual bool isStoreOffsetWithTermVector()=0
True if terms are stored as term vector together with their offsets (start and end position in source...
virtual bool isStored()=0
True if the value of the field is to be stored in the index for return with search hits.
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< TokenStream > TokenStreamPtr
Definition LuceneTypes.h:63
boost::shared_ptr< Reader > ReaderPtr
Definition LuceneTypes.h:547