public class FieldTypeResource extends BaseSolrResource implements GETable
BaseSolrResource.SolrOutputRepresentationSHOW_DEFAULTS, UTF8| Constructor and Description |
|---|
FieldTypeResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
doInit()
Pulls the SolrQueryRequest constructed in SolrDispatchFilter
from the SolrRequestInfo thread local, then gets the SolrCore
and IndexSchema and sets up the response.
|
org.restlet.representation.Representation |
get() |
protected List<String> |
getDynamicFieldsWithFieldType(FieldType fieldType)
Returns a dynamic field list using the given field type by iterating over all
dynamic fields defined in the schema.
|
protected List<String> |
getFieldsWithFieldType(FieldType fieldType)
Returns a field list using the given field type by iterating over all fields
defined in the schema.
|
protected SimpleOrderedMap<Object> |
getFieldTypeProperties(FieldType fieldType)
Used by subclasses to collect field type properties
|
getContentType, getSchema, getSolrCore, getSolrRequest, getSolrResponse, handleException, handlePostExecution, urlDecodeabort, commit, delete, delete, describeVariants, doCatch, doConditionalHandle, doError, doHandle, doHandle, doNegotiatedHandle, get, getAttribute, getInfo, getInfo, getOnSent, getPreferredVariant, getVariants, getVariants, handle, hasAnnotations, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, options, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setAttribute, setAutoCommitting, setChallengeRequests, setCommitted, setConditional, setCookieSettings, setDimensions, setExisting, setLocationRef, setLocationRef, setNegotiated, setOnSent, setProxyChallengeRequests, setServerInfo, setStatus, setStatus, setStatus, setStatus, updateAllowedMethods, updateDimensionsdoError, doRelease, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getConnegService, getContext, getConverterService, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMatrixValue, getMaxForwards, getMetadataService, getMethod, getOriginalRef, getProtocol, getProxyChallengeRequests, getProxyChallengeResponse, getQuery, getQueryValue, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestCacheDirectives, getRequestEntity, getResponse, getResponseAttributes, getResponseCacheDirectives, getResponseEntity, getRootRef, getServerInfo, getStatus, getStatusService, init, isConfidential, isLoggable, release, setApplication, setQueryValue, setRequest, setResponse, toObject, toRepresentation, toStringpublic void doInit()
throws org.restlet.resource.ResourceException
BaseSolrResourceorg.restlet.resource.ResourceExceptionpublic org.restlet.representation.Representation get()
protected List<String> getFieldsWithFieldType(FieldType fieldType)
protected List<String> getDynamicFieldsWithFieldType(FieldType fieldType)
protected SimpleOrderedMap<Object> getFieldTypeProperties(FieldType fieldType)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.