Uses of Class
org.apache.solr.rest.ManagedResource
-
Packages that use ManagedResource Package Description org.apache.solr.rest Solr RESTful APIs.org.apache.solr.rest.schema.analysis Analysis-related functionality for RESTful API access to managed resources related to the schema, such as stopwords, protected words, and synonyms. -
-
Uses of ManagedResource in org.apache.solr.rest
Fields in org.apache.solr.rest declared as ManagedResource Modifier and Type Field Description protected ManagedResource
RestManager.ManagedEndpoint. managedResource
Fields in org.apache.solr.rest with type parameters of type ManagedResource Modifier and Type Field Description protected Map<String,ManagedResource>
RestManager. managed
Methods in org.apache.solr.rest that return ManagedResource Modifier and Type Method Description ManagedResource
RestManager. addManagedResource(String resourceId, Class<? extends ManagedResource> clazz)
If not already registered, registers the givenManagedResource
subclass at the given resourceId, creates an instance.protected ManagedResource
RestManager. createManagedResource(org.apache.solr.rest.RestManager.ManagedResourceRegistration reg)
Creates a ManagedResource using registration information.ManagedResource
RestManager. getManagedResource(String resourceId)
Returns theManagedResource
subclass instance corresponding to the given resourceId from the registry.ManagedResource
RestManager. getManagedResourceOrNull(String resourceId)
Returns theManagedResource
subclass instance corresponding to the given resourceId from the registry, or null if no resource has been registered with the given resourceId.Methods in org.apache.solr.rest with parameters of type ManagedResource Modifier and Type Method Description void
RestManager. deleteManagedResource(ManagedResource res)
Deletes a managed resource if it is not being used by any Solr components.void
ManagedResourceObserver. onManagedResourceInitialized(org.apache.solr.common.util.NamedList<?> args, ManagedResource res)
Event notification raised once during core initialization to notify listeners that a ManagedResource is fully initialized.Method parameters in org.apache.solr.rest with type arguments of type ManagedResource Modifier and Type Method Description ManagedResource
RestManager. addManagedResource(String resourceId, Class<? extends ManagedResource> clazz)
If not already registered, registers the givenManagedResource
subclass at the given resourceId, creates an instance.void
RestManager.Registry. registerManagedResource(String resourceId, Class<? extends ManagedResource> implClass, ManagedResourceObserver observer)
Register the need to use a ManagedResource; this method is typically called by a Solr component during core initialization to register itself as an observer of a specific type of ManagedResource. -
Uses of ManagedResource in org.apache.solr.rest.schema.analysis
Subclasses of ManagedResource in org.apache.solr.rest.schema.analysis Modifier and Type Class Description static class
ManagedSynonymFilterFactory.SynonymManager
Deprecated.ManagedResource implementation for synonyms, which are so specialized that it makes sense to implement this class as an inner class as it has little application outside the SynonymFilterFactory use cases.static class
ManagedSynonymGraphFilterFactory.SynonymManager
ManagedResource implementation for synonyms, which are so specialized that it makes sense to implement this class as an inner class as it has little application outside the SynonymFilterFactory use cases.class
ManagedWordSetResource
ManagedResource implementation for managing a set of words using the REST API; useful for managing stop words and/or protected words for analysis components like the KeywordMarkerFilter.Methods in org.apache.solr.rest.schema.analysis that return types with arguments of type ManagedResource Modifier and Type Method Description protected abstract Class<? extends ManagedResource>
BaseManagedTokenFilterFactory. getManagedResourceImplClass()
Let the concrete analysis component determine the ManagedResource implementation.protected Class<? extends ManagedResource>
ManagedStopFilterFactory. getManagedResourceImplClass()
Returns the implementation class for managing stop words.protected Class<? extends ManagedResource>
ManagedSynonymFilterFactory. getManagedResourceImplClass()
Deprecated.protected Class<? extends ManagedResource>
ManagedSynonymGraphFilterFactory. getManagedResourceImplClass()
Methods in org.apache.solr.rest.schema.analysis with parameters of type ManagedResource Modifier and Type Method Description void
ManagedStopFilterFactory. onManagedResourceInitialized(org.apache.solr.common.util.NamedList<?> args, ManagedResource res)
Callback invoked by theManagedResource
instance to trigger this class to create the CharArraySet used to create the StopFilter using the wordset managed byManagedWordSetResource
.void
ManagedSynonymFilterFactory. onManagedResourceInitialized(org.apache.solr.common.util.NamedList<?> initArgs, ManagedResource res)
Deprecated.Called once, during core initialization, to initialize any analysis components that depend on the data managed by this resource.void
ManagedSynonymGraphFilterFactory. onManagedResourceInitialized(org.apache.solr.common.util.NamedList<?> initArgs, ManagedResource res)
Called once, during core initialization, to initialize any analysis components that depend on the data managed by this resource.
-