## Uses of Class
org.apache.lucene.index.SegmentWriteState

- Packages that use SegmentWriteState
  Package | Description
  --- | ---
  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.lucene41 | Lucene 4.1 file format.
  org.apache.lucene.codecs.lucene42 | Lucene 4.2 file format.
  org.apache.lucene.codecs.perfield | Postings format that can delegate to different formats per-field.
  org.apache.lucene.index | Code to maintain and access indices.

- - ### Uses of SegmentWriteState in org.apache.lucene.codecs

    Methods in org.apache.lucene.codecs with parameters of type SegmentWriteState
    Modifier and Type | Method and Description
    --- | ---
    `abstract FieldsConsumer` | PostingsFormat.`fieldsConsumer(SegmentWriteState state)` Writes a new segment
    `abstract DocValuesConsumer` | DocValuesFormat.`fieldsConsumer(SegmentWriteState state)` Returns a `DocValuesConsumer` to write docvalues to the index.
    `abstract DocValuesConsumer` | NormsFormat.`normsConsumer(SegmentWriteState state)` Returns a `DocValuesConsumer` to write norms to the index.
    `abstract PostingsWriterBase` | PostingsBaseFormat.`postingsWriterBase(SegmentWriteState state)` Creates the `PostingsWriterBase` for this format.

    Constructors in org.apache.lucene.codecs with parameters of type SegmentWriteState
    Constructor and Description
    `BlockTreeTermsWriter(SegmentWriteState state, PostingsWriterBase postingsWriter, int minItemsInBlock, int maxItemsInBlock)` Create a new writer.

  - ### Uses of SegmentWriteState in org.apache.lucene.codecs.lucene40

    Methods in org.apache.lucene.codecs.lucene40 with parameters of type SegmentWriteState
    Modifier and Type | Method and Description
    --- | ---
    `FieldsConsumer` | Lucene40PostingsFormat.`fieldsConsumer(SegmentWriteState state)` Deprecated.
    `DocValuesConsumer` | Lucene40DocValuesFormat.`fieldsConsumer(SegmentWriteState state)` Deprecated.
    `DocValuesConsumer` | Lucene40NormsFormat.`normsConsumer(SegmentWriteState state)` Deprecated.
    `PostingsWriterBase` | Lucene40PostingsBaseFormat.`postingsWriterBase(SegmentWriteState state)` Deprecated.

  - ### Uses of SegmentWriteState in org.apache.lucene.codecs.lucene41

    Methods in org.apache.lucene.codecs.lucene41 with parameters of type SegmentWriteState
    Modifier and Type | Method and Description
    --- | ---
    `FieldsConsumer` | Lucene41PostingsFormat.`fieldsConsumer(SegmentWriteState state)`
    `PostingsWriterBase` | Lucene41PostingsBaseFormat.`postingsWriterBase(SegmentWriteState state)`

    Constructors in org.apache.lucene.codecs.lucene41 with parameters of type SegmentWriteState
    Constructor and Description
    `Lucene41PostingsWriter(SegmentWriteState state)` Creates a postings writer with `PackedInts.COMPACT`
    `Lucene41PostingsWriter(SegmentWriteState state, float acceptableOverheadRatio)` Creates a postings writer with the specified PackedInts overhead ratio

  - ### Uses of SegmentWriteState in org.apache.lucene.codecs.lucene42

    Methods in org.apache.lucene.codecs.lucene42 with parameters of type SegmentWriteState
    Modifier and Type | Method and Description
    --- | ---
    `DocValuesConsumer` | Lucene42DocValuesFormat.`fieldsConsumer(SegmentWriteState state)`
    `DocValuesConsumer` | Lucene42NormsFormat.`normsConsumer(SegmentWriteState state)`

  - ### Uses of SegmentWriteState in org.apache.lucene.codecs.perfield

    Methods in org.apache.lucene.codecs.perfield with parameters of type SegmentWriteState
    Modifier and Type | Method and Description
    --- | ---
    `FieldsConsumer` | PerFieldPostingsFormat.`fieldsConsumer(SegmentWriteState state)`
    `DocValuesConsumer` | PerFieldDocValuesFormat.`fieldsConsumer(SegmentWriteState state)`

  - ### Uses of SegmentWriteState in org.apache.lucene.index

    Constructors in org.apache.lucene.index with parameters of type SegmentWriteState
    Constructor and Description
    `SegmentWriteState(SegmentWriteState state, String segmentSuffix)` Create a shallow `SegmentWriteState` copy final a format ID

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