public class Schema extends Object implements Serializable
Class representing the SolrSchema as returned by the REST call to the URL of the form http://localhost:8983/solr/gettingstarted/schema. This particular URL returns the schema in JSON format for the Solr quickstart example running locally.
Modifier and Type | Class and Description |
---|---|
static class |
Schema.SchemaWrapper |
Constructor and Description |
---|
Schema() |
Modifier and Type | Method and Description |
---|---|
List<CopyField> |
getCopyFields() |
List<Field> |
getDynamicFields() |
List<Field> |
getFields() |
List<FieldType> |
getFieldTypes() |
String |
getName() |
String |
getUniqueKey() |
String |
getVersion() |
void |
setCopyFields(List<CopyField> copyFields) |
void |
setDynamicFields(List<Field> dynamicFields) |
void |
setFields(List<Field> fields) |
void |
setFieldTypes(List<FieldType> fieldTypes) |
void |
setName(String name) |
void |
setUniqueKey(String uniqueKey) |
void |
setVersion(String version) |
String |
toString() |
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.