org.apache.lucene.codecs.simpletext
Class SimpleTextNormsFormat.SimpleTextNormsPerDocProducer

java.lang.Object
  extended by org.apache.lucene.codecs.PerDocProducer
      extended by org.apache.lucene.codecs.PerDocProducerBase
          extended by org.apache.lucene.codecs.simpletext.SimpleTextPerDocProducer
              extended by org.apache.lucene.codecs.simpletext.SimpleTextNormsFormat.SimpleTextNormsPerDocProducer
All Implemented Interfaces:
Closeable
Enclosing class:
SimpleTextNormsFormat

public static class SimpleTextNormsFormat.SimpleTextNormsPerDocProducer
extends SimpleTextPerDocProducer

Reads plain-text norms.

FOR RECREATIONAL USE ONLY

WARNING: This API is experimental and might change in incompatible ways in the next release.

Field Summary
 
Fields inherited from class org.apache.lucene.codecs.simpletext.SimpleTextPerDocProducer
docValues
 
Constructor Summary
SimpleTextNormsFormat.SimpleTextNormsPerDocProducer(SegmentReadState state, Comparator<BytesRef> comp)
           
 
Method Summary
protected  boolean anyDocValuesFields(FieldInfos infos)
           
protected  boolean canLoad(FieldInfo info)
           
protected  DocValues.Type getDocValuesType(FieldInfo info)
           
 
Methods inherited from class org.apache.lucene.codecs.simpletext.SimpleTextPerDocProducer
closeInternal, docValues, loadDocValues, readString
 
Methods inherited from class org.apache.lucene.codecs.PerDocProducerBase
close, docValues, docValuesId, getComparator, load
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTextNormsFormat.SimpleTextNormsPerDocProducer

public SimpleTextNormsFormat.SimpleTextNormsPerDocProducer(SegmentReadState state,
                                                           Comparator<BytesRef> comp)
                                                    throws IOException
Throws:
IOException
Method Detail

canLoad

protected boolean canLoad(FieldInfo info)
Overrides:
canLoad in class PerDocProducerBase

getDocValuesType

protected DocValues.Type getDocValuesType(FieldInfo info)
Overrides:
getDocValuesType in class PerDocProducerBase

anyDocValuesFields

protected boolean anyDocValuesFields(FieldInfos infos)
Overrides:
anyDocValuesFields in class PerDocProducerBase


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