@Internal public class LuceneBackedESDocumentBuilder extends Object implements ESDocumentBuilder
ESDocumentBuilder
that adapts the Document
produced by DocumentBuilder
for use in ES.Constructor and Description |
---|
LuceneBackedESDocumentBuilder(com.atlassian.bonnie.search.DocumentBuilder documentBuilder) |
Modifier and Type | Method and Description |
---|---|
org.elasticsearch.common.xcontent.XContentBuilder |
getDocument(com.atlassian.bonnie.Searchable searchable)
Get a elasticserach document from a searchable.
|
public LuceneBackedESDocumentBuilder(com.atlassian.bonnie.search.DocumentBuilder documentBuilder)
public org.elasticsearch.common.xcontent.XContentBuilder getDocument(com.atlassian.bonnie.Searchable searchable)
ESDocumentBuilder
getDocument
in interface ESDocumentBuilder
searchable
- the searchable.Copyright © 2003–2016 Atlassian. All rights reserved.