Interface DocumentBuilder

All Known Implementing Classes:
LuceneDocumentBuilder

public interface DocumentBuilder
Creates a Lucene Document from the supplied Searchable.
Since:
8.0
  • Method Details

    • getDocument

      org.apache.lucene.document.Document getDocument(Searchable searchable)
      Parameters:
      searchable - the searchable that represents the entity
      Returns:
      a Lucene Document from the supplied Searchable.
    • getHandle

      Handle getHandle(Object obj)
      Returns:
      A Handle by which the {AnyTypeObjectDao} (for example) can resolve any persistent object
      See Also: