Interface LuceneIdReader

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.apache.lucene.index.BinaryDocValues idDocValues​(org.apache.lucene.index.LeafReader reader)
      Creates a BinaryDocValues backed up by a specific field depending on a configured ID read/write strategy.
    • Method Detail

      • idDocValues

        org.apache.lucene.index.BinaryDocValues idDocValues​(org.apache.lucene.index.LeafReader reader)
                                                     throws IOException
        Creates a BinaryDocValues backed up by a specific field depending on a configured ID read/write strategy.
        Parameters:
        reader - The reader to retrieve IDs from.
        Returns:
        Returns BinaryDocValues for the ID field.
        Throws:
        IOException - On I/O error occurred while creating doc values.
        See Also:
        LuceneBackendSettings.SCHEMA_ID_STRATEGY