Interface LuceneIdWriter
-
- All Known Subinterfaces:
LuceneIdReaderWriter
- All Known Implementing Classes:
LuceneLegacyIdReaderWriter,LuceneModernIdReaderWriter
public interface LuceneIdWriter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite(String id, org.apache.lucene.document.Document document)Writes an ID to the document.
-
-
-
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
-
-