Class StoredFieldVisitor
Expert: Provides a low-level means of accessing the stored field
values in an index. See
NOTE: a StoredFieldVisitor implementation should not try to load or visit other stored documents in the same reader because the implementation of stored fields for most codecs is not reeentrant and you will see strange exceptions as a result.
See DocumentStoredFieldVisitor, which is a
StoredFieldVisitor that builds the
Document containing all stored fields. This is
used by
@lucene.experimental
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class StoredFieldVisitor : object
Constructors
Name | Description |
---|---|
StoredFieldVisitor() | Sole constructor. (For invocation by subclass constructors, typically implicit.) |
Methods
Name | Description |
---|---|
BinaryField(FieldInfo, Byte[]) | Process a binary field. |
DoubleField(FieldInfo, Double) | Process a |
Int32Field(FieldInfo, Int32) | Process a |
Int64Field(FieldInfo, Int64) | Process a |
NeedsField(FieldInfo) | Hook before processing a field. Before a field is processed, this method is invoked so that subclasses can return a StoredFieldVisitor.Status representing whether they need that particular field or not, or to stop processing entirely. |
SingleField(FieldInfo, Single) | Process a |
StringField(FieldInfo, String) | Process a |