Package | Description |
---|---|
org.apache.solr.rest |
Solr RESTful APIs via Restlet.
|
org.apache.solr.rest.schema |
Provides RESTful API access to the Solr Schema using Restlet.
|
org.apache.solr.rest.schema.analysis |
Analysis-related functionality for RESTful API access to the Solr Schema using Restlet.
|
Modifier and Type | Class and Description |
---|---|
static class |
RestManager.ManagedEndpoint
The Restlet router needs a lightweight extension of ServerResource to delegate a request
to.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends BaseSolrResource> |
ManagedResource.getServerResourceClass()
Gets the ServerResource class to register this endpoint with the Rest API router;
in most cases, the default RestManager.ManagedEndpoint class is sufficient but
ManagedResource implementations can override this method if a different ServerResource
class is needed.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
ManagedResource.doDeleteChild(BaseSolrResource endpoint,
String childId)
Called by
RestManager.ManagedEndpoint.delete()
to delete a named part (the given childId) of the
resource at the given endpoint |
abstract void |
ManagedResource.doGet(BaseSolrResource endpoint,
String childId)
Called by
RestManager.ManagedEndpoint.get()
to retrieve a named part (the given childId) of the
resource at the given endpoint |
void |
ManagedResource.doPost(BaseSolrResource endpoint,
org.restlet.representation.Representation entity,
Object json)
Just calls
ManagedResource.doPut(BaseSolrResource,Representation,Object) ;
override to change the behavior of POST handling. |
void |
ManagedResource.doPut(BaseSolrResource endpoint,
org.restlet.representation.Representation entity,
Object json)
Applies changes to initArgs or managed data.
|
Modifier and Type | Class and Description |
---|---|
class |
CopyFieldCollectionResource
This class responds to requests at /solr/(corename)/schema/copyfields
To restrict the set of copyFields in the response, specify one or both
of the following as query parameters, with values as space and/or comma
separated dynamic or explicit field names:
dest.fl: include copyFields that have one of these as a destination
source.fl: include copyFields that have one of these as a source
If both dest.fl and source.fl are given as query parameters, the copyfields
in the response will be restricted to those that match any of the destinations
in dest.fl and also match any of the sources in source.fl.
|
class |
DefaultSearchFieldResource
This class responds to requests at /solr/(corename)/schema/defaultsearchfield
|
class |
DynamicFieldCollectionResource
This class responds to requests at /solr/(corename)/schema/dynamicfields
To restrict the set of dynamic fields in the response, specify a comma
and/or space separated list of dynamic field patterns in the "fl" query
parameter.
|
class |
DynamicFieldResource
This class responds to requests at /solr/(corename)/schema/dynamicfields/(pattern)
where pattern is a field name pattern (with an asterisk at the beginning or the end).
|
class |
FieldCollectionResource
This class responds to requests at /solr/(corename)/schema/fields
Two query parameters are supported:
"fl": a comma- and/or space-separated list of fields to send properties
for in the response, rather than the default: all of them.
|
class |
FieldResource
This class responds to requests at /solr/(corename)/schema/fields/(fieldname)
where "fieldname" is the name of a field.
|
class |
FieldTypeCollectionResource
This class responds to requests at /solr/(corename)/schema/fieldtypes
The GET method returns properties for all field types defined in the schema.
|
class |
FieldTypeResource
This class responds to requests at /solr/(corename)/schema/fieldtype/(typename)
where "typename" is the name of a field type in the schema.
|
class |
SchemaNameResource
This class responds to requests at /solr/(corename)/schema/name
|
class |
SchemaResource
This class responds to requests at /solr/(corename)/schema
|
class |
SchemaSimilarityResource
This class responds to requests at /solr/(corename)/schema/similarity
|
class |
SchemaVersionResource
This class responds to requests at /solr/(corename)/schema/version
|
class |
SolrQueryParserDefaultOperatorResource
This class responds to requests at /solr/(corename)/schema/solrqueryparser/defaultoperator
|
class |
SolrQueryParserResource
This class responds to requests at /solr/(corename)/schema/solrqueryparser
|
class |
UniqueKeyFieldResource
This class responds to requests at /solr/(corename)/schema/uniquekey
|
Modifier and Type | Method and Description |
---|---|
void |
ManagedWordSetResource.doDeleteChild(BaseSolrResource endpoint,
String childId)
Deletes words managed by this resource.
|
void |
ManagedSynonymFilterFactory.SynonymManager.doDeleteChild(BaseSolrResource endpoint,
String childId) |
void |
ManagedWordSetResource.doGet(BaseSolrResource endpoint,
String childId)
Implements the GET request to provide the list of words to the client.
|
void |
ManagedSynonymFilterFactory.SynonymManager.doGet(BaseSolrResource endpoint,
String childId) |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.