Interface DocumentBuilder
- All Known Implementing Classes:
LuceneDocumentBuilder
public interface DocumentBuilder
Creates a Lucene
Document from the supplied Searchable.- Since:
- 8.0
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.document.DocumentgetDocument(Searchable searchable)
-
Method Details
-
getDocument
- Parameters:
searchable- the searchable that represents the entity- Returns:
- a Lucene
Documentfrom the suppliedSearchable.
-
getHandle
- Returns:
- A
Handleby which the {AnyTypeObjectDao} (for example) can resolve any persistent object - See Also:
-