Class OverlaySingleDocTermsLeafReader

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class OverlaySingleDocTermsLeafReader
    extends FilterLeafReader
    Overlays a 2nd LeafReader for the terms of one field, otherwise the primary reader is consulted. The 2nd reader is assumed to have one document of 0 and we remap it to a target doc ID.
    NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.