public class SolrDocumentConverter
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SolrDocumentConverter.Type |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FIELD_BOOST |
static java.lang.String |
FIELD_NAME |
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
SolrDocumentConverter() |
| Modifier and Type | Method and Description |
|---|---|
SolrInputDocument |
toSolrDocument(Record record) |
SolrInputDocument |
toSolrDocument(Record record,
AnyMap mapping) |
SolrInputDocument |
toSolrDocument(Record record,
AnyMap mapping,
java.util.List<Record> children) |
SolrInputDocument |
toSolrDocument(Record record,
boolean attachments) |
SolrInputDocument |
toSolrDocument(Record record,
boolean attachments,
java.util.List<Record> children) |
SolrInputDocument |
toSolrDocument(Record record,
java.util.List<Record> children) |
java.util.List<SolrInputDocument> |
toSolrDocuments(java.util.List<Record> records) |
java.util.List<SolrInputDocument> |
toSolrDocuments(java.util.List<Record> records,
boolean attachments) |
public static final java.lang.String FIELD_NAME
public static final java.lang.String FIELD_BOOST
public static final java.lang.String TYPE
public SolrInputDocument toSolrDocument(Record record) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic SolrInputDocument toSolrDocument(Record record, java.util.List<Record> children) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic java.util.List<SolrInputDocument> toSolrDocuments(java.util.List<Record> records) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic SolrInputDocument toSolrDocument(Record record, boolean attachments) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic SolrInputDocument toSolrDocument(Record record, boolean attachments, java.util.List<Record> children) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic java.util.List<SolrInputDocument> toSolrDocuments(java.util.List<Record> records, boolean attachments) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic SolrInputDocument toSolrDocument(Record record, AnyMap mapping) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException