Class MergePolicy.DocMap

java.lang.Object
org.apache.lucene.index.MergePolicy.DocMap
Enclosing class:
MergePolicy

public abstract static class MergePolicy.DocMap extends Object
A map of doc IDs.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Sole constructor, typically invoked from sub-classes constructors.
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract int
    map(int old)
    Return the new doc ID according to its old value.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DocMap

      protected DocMap()
      Sole constructor, typically invoked from sub-classes constructors.
  • Method Details

    • map

      public abstract int map(int old)
      Return the new doc ID according to its old value.