Interface LuceneDocumentContent
- All Known Implementing Classes:
LuceneDocumentContentImpl
public interface LuceneDocumentContent
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddField(org.apache.lucene.index.IndexableField field) Add a field to this document.voidaddFieldName(String absoluteFieldPath) Explicitly mark a field name as existing in this document.
-
Method Details
-
addField
void addField(org.apache.lucene.index.IndexableField field) Add a field to this document.- Parameters:
field- The field to add.
-
addFieldName
Explicitly mark a field name as existing in this document.- Parameters:
absoluteFieldPath- The path of the field. May be different fromfield.name(), for example for geo-point fields.
-