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