Uses of Class
org.apache.lucene.index.FieldInfo

Packages that use FieldInfo
org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index. 
org.apache.lucene.codecs.lucene40 Lucene 4.0 file format. 
org.apache.lucene.codecs.lucene40.values Default DocValues implementation for Lucene 4.0 indexes. 
org.apache.lucene.document The logical representation of a Document for indexing and searching. 
org.apache.lucene.index Code to maintain and access indices. 
 

Uses of FieldInfo in org.apache.lucene.codecs
 

Methods in org.apache.lucene.codecs with parameters of type FieldInfo
abstract  TermsConsumer FieldsConsumer.addField(FieldInfo field)
          Add a new field
 TermsConsumer BlockTreeTermsWriter.addField(FieldInfo field)
           
abstract  DocValuesConsumer PerDocConsumer.addValuesField(DocValues.Type type, FieldInfo field)
          Adds a new DocValuesField
protected  boolean PerDocProducerBase.canLoad(FieldInfo info)
          Returns true if this field indexed doc values.
protected  boolean PerDocConsumer.canMerge(FieldInfo info)
          Returns true iff the given field can be merged ie.
abstract  DocsEnum PostingsReaderBase.docs(FieldInfo fieldInfo, BlockTermState state, Bits skipDocs, DocsEnum reuse, int flags)
          Must fully consume state, since after this call that TermState may be reused.
abstract  DocsAndPositionsEnum PostingsReaderBase.docsAndPositions(FieldInfo fieldInfo, BlockTermState state, Bits skipDocs, DocsAndPositionsEnum reuse, int flags)
          Must fully consume state, since after this call that TermState may be reused.
protected  DocValues PerDocConsumer.getDocValuesForMerge(AtomicReader reader, FieldInfo info)
          Returns a DocValues instance for merging from the given reader for the given FieldInfo.
protected  DocValues.Type PerDocConsumer.getDocValuesType(FieldInfo info)
          Returns the DocValues DocValues.Type for the given FieldInfo.
protected  DocValues.Type PerDocProducerBase.getDocValuesType(FieldInfo info)
          Returns the doc values type for this field.
abstract  void PostingsReaderBase.nextTerm(FieldInfo fieldInfo, BlockTermState state)
          Actually decode metadata for next term
abstract  void PostingsReaderBase.readTermsBlock(IndexInput termsIn, FieldInfo fieldInfo, BlockTermState termState)
          Reads data for all terms in the next block; this method should merely load the byte[] blob but not decode, which is done in PostingsReaderBase.nextTerm(org.apache.lucene.index.FieldInfo, org.apache.lucene.codecs.BlockTermState).
abstract  void PostingsWriterBase.setField(FieldInfo fieldInfo)
          Called when the writing switches to another field.
abstract  void TermVectorsWriter.startField(FieldInfo info, int numTerms, boolean positions, boolean offsets, boolean payloads)
          Called before writing the terms of the field.
abstract  void StoredFieldsWriter.writeField(FieldInfo info, IndexableField field)
          Writes a single stored field.
 

Uses of FieldInfo in org.apache.lucene.codecs.lucene40
 

Methods in org.apache.lucene.codecs.lucene40 with parameters of type FieldInfo
protected  boolean Lucene40NormsFormat.Lucene40NormsDocValuesProducer.canLoad(FieldInfo info)
           
protected  boolean Lucene40NormsFormat.Lucene40NormsDocValuesConsumer.canMerge(FieldInfo info)
           
 DocsEnum Lucene40PostingsReader.docs(FieldInfo fieldInfo, BlockTermState termState, Bits liveDocs, DocsEnum reuse, int flags)
           
 DocsAndPositionsEnum Lucene40PostingsReader.docsAndPositions(FieldInfo fieldInfo, BlockTermState termState, Bits liveDocs, DocsAndPositionsEnum reuse, int flags)
           
protected  DocValues Lucene40NormsFormat.Lucene40NormsDocValuesConsumer.getDocValuesForMerge(AtomicReader reader, FieldInfo info)
           
protected  DocValues.Type Lucene40NormsFormat.Lucene40NormsDocValuesProducer.getDocValuesType(FieldInfo info)
           
protected  DocValues.Type Lucene40NormsFormat.Lucene40NormsDocValuesConsumer.getDocValuesType(FieldInfo info)
           
 void Lucene40PostingsReader.nextTerm(FieldInfo fieldInfo, BlockTermState _termState)
           
 void Lucene40PostingsReader.readTermsBlock(IndexInput termsIn, FieldInfo fieldInfo, BlockTermState _termState)
           
 void Lucene40PostingsWriter.setField(FieldInfo fieldInfo)
           
 void Lucene40TermVectorsWriter.startField(FieldInfo info, int numTerms, boolean positions, boolean offsets, boolean payloads)
           
 void Lucene40StoredFieldsWriter.writeField(FieldInfo info, IndexableField field)
           
 

Uses of FieldInfo in org.apache.lucene.codecs.lucene40.values
 

Methods in org.apache.lucene.codecs.lucene40.values with parameters of type FieldInfo
 DocValuesConsumer DocValuesWriterBase.addValuesField(DocValues.Type valueType, FieldInfo field)
           
 

Uses of FieldInfo in org.apache.lucene.document
 

Methods in org.apache.lucene.document with parameters of type FieldInfo
 void DocumentStoredFieldVisitor.binaryField(FieldInfo fieldInfo, byte[] value)
           
 void DocumentStoredFieldVisitor.doubleField(FieldInfo fieldInfo, double value)
           
 void DocumentStoredFieldVisitor.floatField(FieldInfo fieldInfo, float value)
           
 void DocumentStoredFieldVisitor.intField(FieldInfo fieldInfo, int value)
           
 void DocumentStoredFieldVisitor.longField(FieldInfo fieldInfo, long value)
           
 StoredFieldVisitor.Status DocumentStoredFieldVisitor.needsField(FieldInfo fieldInfo)
           
 void DocumentStoredFieldVisitor.stringField(FieldInfo fieldInfo, String value)
           
 

Uses of FieldInfo in org.apache.lucene.index
 

Fields in org.apache.lucene.index declared as FieldInfo
 FieldInfo MergeState.fieldInfo
          Current field being merged.
 

Methods in org.apache.lucene.index that return FieldInfo
 FieldInfo FieldInfos.fieldInfo(int fieldNumber)
          Return the fieldinfo object referenced by the fieldNumber.
 FieldInfo FieldInfos.fieldInfo(String fieldName)
          Return the fieldinfo object referenced by the field name
 

Methods in org.apache.lucene.index that return types with arguments of type FieldInfo
 Iterator<FieldInfo> FieldInfos.iterator()
          Returns an iterator over all the fieldinfo objects present, ordered by ascending field number
 

Methods in org.apache.lucene.index with parameters of type FieldInfo
 void StoredFieldVisitor.binaryField(FieldInfo fieldInfo, byte[] value)
          Process a binary field.
 void StoredFieldVisitor.doubleField(FieldInfo fieldInfo, double value)
          Process a double numeric field.
 void StoredFieldVisitor.floatField(FieldInfo fieldInfo, float value)
          Process a float numeric field.
 void StoredFieldVisitor.intField(FieldInfo fieldInfo, int value)
          Process a int numeric field.
 void StoredFieldVisitor.longField(FieldInfo fieldInfo, long value)
          Process a long numeric field.
abstract  StoredFieldVisitor.Status StoredFieldVisitor.needsField(FieldInfo fieldInfo)
          Hook before processing a field.
 void StoredFieldVisitor.stringField(FieldInfo fieldInfo, String value)
          Process a string field
 

Constructors in org.apache.lucene.index with parameters of type FieldInfo
FieldInfos(FieldInfo[] infos)
          Constructs a new FieldInfos from an array of FieldInfo objects
 



Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.