public class RestJsonSchemaBuilder extends Object implements SchemaBuilder
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.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
IOException
public RestJsonSchemaBuilder(String url) throws IOException
IOException
public RestJsonSchemaBuilder(URL url) throws IOException
IOException
public Schema getSchema()
getSchema
in interface SchemaBuilder
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.