Interface LuceneDocumentContent
-
- All Known Implementing Classes:
LuceneDocumentContentImpl
public interface LuceneDocumentContent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddField(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 Detail
-
addField
void addField(org.apache.lucene.index.IndexableField field)
Add a field to this document.- Parameters:
field- The field to add.
-
addFieldName
void addFieldName(String absoluteFieldPath)
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.
-
-