public class RestJsonSchemaBuilder extends Object implements SchemaBuilder
Class that builds the Schema object from the JSON representation of the schema as returned by the URL of the form http://localhost:8983/solr/gettingstarted/schema/ . This particular URL returns the schema in JSON format for the gettingstarted example running locally. This doesn’t work in kerberos mode. Please check new versions for kerberos support
| Constructor and Description | 
|---|
| RestJsonSchemaBuilder(String url) | 
| RestJsonSchemaBuilder(String solrHost,
                     String solrPort,
                     String collection)Urls with the form http://localhost:8983/solr/gettingstarted/schema/ returns the schema in JSON format | 
| RestJsonSchemaBuilder(URL url) | 
public RestJsonSchemaBuilder(String solrHost, String solrPort, String collection) throws IOException
Urls with the form http://localhost:8983/solr/gettingstarted/schema/ returns the schema in JSON format
IOExceptionpublic RestJsonSchemaBuilder(String url) throws IOException
IOExceptionpublic RestJsonSchemaBuilder(URL url) throws IOException
IOExceptionpublic Schema getSchema()
getSchema in interface SchemaBuilderCopyright © 2022 The Apache Software Foundation. All Rights Reserved.