org.apache.lucene.codecs.simpletext
Class SimpleTextNormsFormat

java.lang.Object
  extended by org.apache.lucene.codecs.NormsFormat
      extended by org.apache.lucene.codecs.simpletext.SimpleTextNormsFormat

public class SimpleTextNormsFormat
extends NormsFormat

plain-text norms format.

FOR RECREATIONAL USE ONLY

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

Nested Class Summary
static class SimpleTextNormsFormat.SimpleTextNormsPerDocConsumer
          Writes plain-text norms.
static class SimpleTextNormsFormat.SimpleTextNormsPerDocProducer
          Reads plain-text norms.
 
Constructor Summary
SimpleTextNormsFormat()
           
 
Method Summary
 PerDocConsumer docsConsumer(PerDocWriteState state)
          Returns a PerDocConsumer to write norms to the index.
 PerDocProducer docsProducer(SegmentReadState state)
          Returns a PerDocProducer to read norms from the index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTextNormsFormat

public SimpleTextNormsFormat()
Method Detail

docsConsumer

public PerDocConsumer docsConsumer(PerDocWriteState state)
                            throws IOException
Description copied from class: NormsFormat
Returns a PerDocConsumer to write norms to the index.

Specified by:
docsConsumer in class NormsFormat
Throws:
IOException

docsProducer

public PerDocProducer docsProducer(SegmentReadState state)
                            throws IOException
Description copied from class: NormsFormat
Returns a PerDocProducer to read norms from the index.

Specified by:
docsProducer in class NormsFormat
Throws:
IOException


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