Class LuceneDocumentBuilder
- java.lang.Object
-
- com.atlassian.confluence.internal.index.lucene.LuceneDocumentBuilder
-
- All Implemented Interfaces:
DocumentBuilder
@Internal public class LuceneDocumentBuilder extends Object implements DocumentBuilder
- Since:
- 5.10
-
-
Constructor Summary
Constructors Constructor Description LuceneDocumentBuilder(AtlassianDocumentBuilder<Searchable> atlassianDocumentBuilder, LuceneFieldVisitor luceneFieldVisitor, HandleResolver handleResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.document.Document
getDocument(Searchable searchable)
Handle
getHandle(Object obj)
-
-
-
Constructor Detail
-
LuceneDocumentBuilder
public LuceneDocumentBuilder(AtlassianDocumentBuilder<Searchable> atlassianDocumentBuilder, LuceneFieldVisitor luceneFieldVisitor, HandleResolver handleResolver)
-
-
Method Detail
-
getDocument
public org.apache.lucene.document.Document getDocument(Searchable searchable)
- Specified by:
getDocument
in interfaceDocumentBuilder
- Parameters:
searchable
- the searchable that represents the entity- Returns:
- a Lucene
Document
from the suppliedSearchable
.
-
-