public static class SolrFieldsMapper.Builder extends Object
Constructor and Description |
---|
Builder(SchemaBuilder schemaBuilder,
org.apache.solr.client.solrj.SolrClient solrClient)
SolrFieldsMapper builder class. |
Builder(SchemaBuilder schemaBuilder,
String collection)
SolrFieldsMapper builder class. |
Modifier and Type | Method and Description |
---|---|
SolrFieldsMapper |
build() |
SolrFieldsMapper.Builder |
setMultiValueFieldToken(String multiValueFieldToken)
Sets the token that separates multivalue fields in tuples.
|
public Builder(SchemaBuilder schemaBuilder, String collection)
SolrFieldsMapper
builder class.
schemaBuilder
- Solr Schema
builder classcollection
- Name of the Solr collection to update using the SolrRequestpublic Builder(SchemaBuilder schemaBuilder, org.apache.solr.client.solrj.SolrClient solrClient)
SolrFieldsMapper
builder class.
schemaBuilder
- Solr Schema
builder classsolrClient
- SolrClient
implementation from where to extract the default Solr collection, if any defined.public SolrFieldsMapper.Builder setMultiValueFieldToken(String multiValueFieldToken)
Sets the token that separates multivalue fields in tuples. The default token is |
public SolrFieldsMapper build()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.