Interface LuceneIdWriter

    • Method Detail

      • write

        void write​(String id,
                   org.apache.lucene.document.Document document)
        Writes an ID to the document. Implementations chose which filed name to use and how many fields are used to represent the ID.
        Parameters:
        id - The id to add to the document.
        document - The document to write to.
        See Also:
        LuceneBackendSettings.SCHEMA_ID_STRATEGY