public static class ManagedSynonymFilterFactory.SynonymManager extends ManagedResource implements ManagedResource.ChildResourceSupport
ManagedResource.ChildResourceSupport
Modifier and Type | Field and Description |
---|---|
protected Map<String,org.apache.solr.rest.schema.analysis.ManagedSynonymFilterFactory.CasePreservedSynonymMappings> |
synonymMappings |
INIT_ARGS_JSON_FIELD, INITIALIZED_ON_JSON_FIELD, initializedOn, lastUpdateSinceInitialization, log, MANAGED_JSON_LIST_FIELD, MANAGED_JSON_MAP_FIELD, managedInitArgs, solrResourceLoader, storage, UPDATED_SINCE_INIT_JSON_FIELD
Constructor and Description |
---|
ManagedSynonymFilterFactory.SynonymManager(String resourceId,
SolrResourceLoader loader,
ManagedResourceStorage.StorageIO storageIO) |
Modifier and Type | Method and Description |
---|---|
protected String |
applyCaseSetting(boolean ignoreCase,
String str) |
protected Object |
applyUpdatesToManagedData(Object updates)
Called during PUT/POST processing to apply updates to the managed data passed from the client.
|
void |
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 |
void |
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 |
boolean |
getIgnoreCase() |
boolean |
getIgnoreCase(NamedList<?> initArgs) |
protected Map<String,Set<String>> |
getStoredView()
Returns a Map of how we store and load data managed by this resource,
which is different than how it is managed at runtime in order to support
the ignoreCase setting.
|
protected void |
onManagedDataLoadedFromStorage(NamedList<?> managedInitArgs,
Object managedData)
Method called after data has been loaded from storage to give the concrete
implementation a chance to post-process the data.
|
buildMapToStore, convertNamedListToMap, createStorage, doPost, doPut, getInitializedOn, getResourceId, getResourceLoader, getServerResourceClass, getUpdatedSinceInitialization, hasChangesSinceInitialization, loadManagedDataAndNotify, notifyObserversDuringInit, onResourceDeleted, reloadFromStorage, storeManagedData, updateInitArgs
public ManagedSynonymFilterFactory.SynonymManager(String resourceId, SolrResourceLoader loader, ManagedResourceStorage.StorageIO storageIO) throws SolrException
SolrException
protected void onManagedDataLoadedFromStorage(NamedList<?> managedInitArgs, Object managedData) throws SolrException
ManagedResource
onManagedDataLoadedFromStorage
in class ManagedResource
SolrException
protected Object applyUpdatesToManagedData(Object updates)
ManagedResource
applyUpdatesToManagedData
in class ManagedResource
protected Map<String,Set<String>> getStoredView()
public boolean getIgnoreCase()
public boolean getIgnoreCase(NamedList<?> initArgs)
public void doGet(BaseSolrResource endpoint, String childId)
ManagedResource
RestManager.ManagedEndpoint.get()
to retrieve a named part (the given childId) of the
resource at the given endpointdoGet
in class ManagedResource
public void doDeleteChild(BaseSolrResource endpoint, String childId)
ManagedResource
RestManager.ManagedEndpoint.delete()
to delete a named part (the given childId) of the
resource at the given endpointdoDeleteChild
in class ManagedResource
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.