org.apache.lucene.codecs.uniformsplit.sharedterms

## Class STUniformSplitTerms

- java.lang.Object
- - org.apache.lucene.index.Terms
  - - org.apache.lucene.codecs.uniformsplit.UniformSplitTerms
    - - org.apache.lucene.codecs.uniformsplit.sharedterms.STUniformSplitTerms

- All Implemented Interfaces:
    Accountable

      public class STUniformSplitTerms
      extends UniformSplitTerms

  Extends `UniformSplitTerms` for a shared-terms dictionary, with all the fields of a term in the same block line.
  WARNING: This API is experimental and might change in incompatible ways in the next release.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected FieldInfos` | `fieldInfos`
    `protected FieldMetadata` | `unionFieldMetadata`

    - ### Fields inherited from class org.apache.lucene.codecs.uniformsplit.UniformSplitTerms

      `blockDecoder, blockInput, dictionaryBrowserSupplier, fieldMetadata, postingsReader`

    - ### Fields inherited from class org.apache.lucene.index.Terms

      `EMPTY_ARRAY`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `STUniformSplitTerms(IndexInput blockInput, FieldMetadata fieldMetadata, FieldMetadata unionFieldMetadata, PostingsReaderBase postingsReader, BlockDecoder blockDecoder, FieldInfos fieldInfos, DictionaryBrowserSupplier dictionaryBrowserSupplier)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `TermsEnum` | `intersect(CompiledAutomaton compiled, BytesRef startTerm)`
    `TermsEnum` | `iterator()`

    - ### Methods inherited from class org.apache.lucene.codecs.uniformsplit.UniformSplitTerms

      `checkIntersectAutomatonType, getDictionaryRamBytesUsed, getDocCount, getMax, getSumDocFreq, getSumTotalTermFreq, hasFreqs, hasOffsets, hasPayloads, hasPositions, ramBytesUsed, ramBytesUsedWithoutDictionary, size`

    - ### Methods inherited from class org.apache.lucene.index.Terms

      `getMin, getStats`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.lucene.util.Accountable

      `getChildResources`

- - ### Field Detail

    - #### unionFieldMetadata

          protected final FieldMetadata unionFieldMetadata

    - #### fieldInfos

          protected final FieldInfos fieldInfos

  - ### Constructor Detail

    - #### STUniformSplitTerms

          protected STUniformSplitTerms(IndexInput blockInput,
                                        FieldMetadata fieldMetadata,
                                        FieldMetadata unionFieldMetadata,
                                        PostingsReaderBase postingsReader,
                                        BlockDecoder blockDecoder,
                                        FieldInfos fieldInfos,
                                        DictionaryBrowserSupplier dictionaryBrowserSupplier)

  - ### Method Detail

    - #### intersect

          public TermsEnum intersect(CompiledAutomaton compiled,
                                     BytesRef startTerm)
                              throws IOException

      Overrides:
        `intersect` in class `UniformSplitTerms`
      Throws:
        `IOException`

    - #### iterator

          public TermsEnum iterator()
                             throws IOException

      Overrides:
        `iterator` in class `UniformSplitTerms`
      Throws:
        `IOException`

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