Class AbstractField
Inheritance
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public abstract class AbstractField : object, IFieldable
Constructors
Fields
Properties
Name | Description |
---|---|
Binary |
Returns length of byte[] segment that is used as value, if Field is not binary returned value is undefined |
Binary |
Returns offset into byte[] segment that is used as value, if Field is not binary returned value is undefined |
Boost | Gets or sets the boost factor for hits for this field. The default value is 1.0. Note: this value is not stored directly with the document in the index. Documents returned from Document(Int32) and Doc(Int32) may thus not have the same value present as when this field was indexed. |
Is |
True iff the value of the filed is stored as binary |
Is |
True iff the value of the field is to be indexed, so that it may be searched on. |
Is |
|
Is |
True iff the value of the field is to be stored in the index for return with search hits. It is an error for this to be true if a field is Reader-valued. |
Is |
True iff terms are stored as term vector together with their offsets (start and end position in source text). |
Is |
True iff terms are stored as term vector together with their token positions. |
Is |
True iff the term or terms used to index this field are stored as a term
vector, available from Get |
Is |
True iff the value of the field should be tokenized as text prior to indexing. Un-tokenized fields are indexed as a single word and may not be Reader-valued. |
Name | Returns the name of the field as an interned string. For example "date", "title", "body", ... |
Omit |
True if norms are omitted for this indexed field |
Omit |
Expert: If set, omit term freq, positions and payloads from postings for this field. NOTE: While this option reduces storage space
required in the index, it also means any query
requiring positional information, such as Phrase |
Reader |
|
String |
|
Token |
Methods
Name | Description |
---|---|
Get |
Return the raw byte[] for the binary field. Note that
you must also call Binary |
Get |
|
Set |
|
To |
Prints a Field for human consumption. |