Interface LuceneDocumentContent

All Known Implementing Classes:
LuceneDocumentContentImpl

public interface LuceneDocumentContent
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addField(org.apache.lucene.index.IndexableField field)
    Add a field to this document.
    void
    addFieldName(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

      void addFieldName(String absoluteFieldPath)
      Explicitly mark a field name as existing in this document.
      Parameters:
      absoluteFieldPath - The path of the field. May be different from field.name(), for example for geo-point fields.