public class DynamicFieldCollectionResource extends BaseSolrResource implements GETable
BaseSolrResource.SolrOutputRepresentation
Modifier and Type | Field and Description |
---|---|
protected static String |
INCLUDE_DYNAMIC_PARAM |
SHOW_DEFAULTS, UTF8
Constructor and Description |
---|
DynamicFieldCollectionResource() |
Modifier and Type | Method and Description |
---|---|
void |
doInit()
Pulls the "fl" param from the request and splits it to get the
requested list of fields.
|
org.restlet.representation.Representation |
get() |
protected SimpleOrderedMap<Object> |
getFieldProperties(SchemaField field)
Get the properties for a given field.
|
protected LinkedHashSet<String> |
getRequestedFields() |
getContentType, getSchema, getSolrCore, getSolrRequest, getSolrResponse, handleException, handlePostExecution, urlDecode
abort, 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, updateDimensions
doError, 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, toString
protected static final String INCLUDE_DYNAMIC_PARAM
public void doInit() throws org.restlet.resource.ResourceException
org.restlet.resource.ResourceException
public org.restlet.representation.Representation get()
protected LinkedHashSet<String> getRequestedFields()
protected SimpleOrderedMap<Object> getFieldProperties(SchemaField field)
field
- not required to exist in the schemaCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.