## 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.blocktree | BlockTree terms dictionary.
  org.apache.lucene.codecs.lucene50 | Components from the Lucene 5.0 index format See `org.apache.lucene.codecs.lucene80` for an overview of the index format.
  org.apache.lucene.codecs.lucene60 | Components from the Lucene 6.0 index format.
  org.apache.lucene.codecs.lucene80 | Lucene 8.0 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 DocValuesConsumer` | DocValuesFormat.`fieldsConsumer(SegmentWriteState state)` Returns a `DocValuesConsumer` to write docvalues to the index.
    `abstract FieldsConsumer` | PostingsFormat.`fieldsConsumer(SegmentWriteState state)` Writes a new segment
    `abstract PointsWriter` | PointsFormat.`fieldsWriter(SegmentWriteState state)` Writes a new segment
    `abstract void` | PostingsWriterBase.`init(IndexOutput termsOut, SegmentWriteState state)` Called once after startup, before any terms have been added.
    `abstract NormsConsumer` | NormsFormat.`normsConsumer(SegmentWriteState state)` Returns a `NormsConsumer` to write norms to the index.

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

    Constructors in org.apache.lucene.codecs.blocktree 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.lucene50

    Methods in org.apache.lucene.codecs.lucene50 with parameters of type SegmentWriteState
    Modifier and Type | Method and Description
    --- | ---
    `FieldsConsumer` | Lucene50PostingsFormat.`fieldsConsumer(SegmentWriteState state)`
    `void` | Lucene50PostingsWriter.`init(IndexOutput termsOut, SegmentWriteState state)`

    Constructors in org.apache.lucene.codecs.lucene50 with parameters of type SegmentWriteState
    Constructor and Description
    `Lucene50PostingsWriter(SegmentWriteState state)` Creates a postings writer

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

    Methods in org.apache.lucene.codecs.lucene60 with parameters of type SegmentWriteState
    Modifier and Type | Method and Description
    --- | ---
    `PointsWriter` | Lucene60PointsFormat.`fieldsWriter(SegmentWriteState state)`

    Constructors in org.apache.lucene.codecs.lucene60 with parameters of type SegmentWriteState
    Constructor and Description
    `Lucene60PointsWriter(SegmentWriteState writeState)` Uses the defaults values for `maxPointsInLeafNode` (1024) and `maxMBSortInHeap` (16.0)
    `Lucene60PointsWriter(SegmentWriteState writeState, int maxPointsInLeafNode, double maxMBSortInHeap)` Full constructor

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

    Methods in org.apache.lucene.codecs.lucene80 with parameters of type SegmentWriteState
    Modifier and Type | Method and Description
    --- | ---
    `DocValuesConsumer` | Lucene80DocValuesFormat.`fieldsConsumer(SegmentWriteState state)`
    `NormsConsumer` | Lucene80NormsFormat.`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 copy of `SegmentWriteState` with a new segment suffix.

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