public class ManagedSynonymFilterFactory extends BaseManagedTokenFilterFactory
Modifier and Type | Class and Description |
---|---|
static class |
ManagedSynonymFilterFactory.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.
|
Modifier and Type | Field and Description |
---|---|
protected org.apache.solr.rest.schema.analysis.FSTSynonymFilterFactory |
delegate |
static String |
IGNORE_CASE_INIT_ARG |
static org.slf4j.Logger |
log |
static String |
SYNONYM_MAPPINGS |
handle
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
Constructor and Description |
---|
ManagedSynonymFilterFactory(Map<String,String> args) |
Modifier and Type | Method and Description |
---|---|
TokenStream |
create(TokenStream input) |
protected Class<? extends ManagedResource> |
getManagedResourceImplClass()
Let the concrete analysis component determine the ManagedResource implementation.
|
String |
getResourceId()
Let the concrete analysis component decide the path it wishes to be managed at.
|
void |
onManagedResourceInitialized(NamedList<?> initArgs,
ManagedResource res)
Called once, during core initialization, to initialize any analysis components
that depend on the data managed by this resource.
|
inform
availableTokenFilters, forName, lookupClass, reloadTokenFilters
assureMatchVersion, get, get, get, get, get, getBoolean, getChar, getClassArg, getFloat, getInt, getLines, getLuceneMatchVersion, getOriginalArgs, getPattern, getSet, getSnowballWordSet, getWordSet, isExplicitLuceneMatchVersion, require, require, require, requireBoolean, requireChar, requireFloat, requireInt, setExplicitLuceneMatchVersion, splitFileNames
public static final org.slf4j.Logger log
public static final String SYNONYM_MAPPINGS
public static final String IGNORE_CASE_INIT_ARG
protected org.apache.solr.rest.schema.analysis.FSTSynonymFilterFactory delegate
public String getResourceId()
BaseManagedTokenFilterFactory
getResourceId
in class BaseManagedTokenFilterFactory
protected Class<? extends ManagedResource> getManagedResourceImplClass()
BaseManagedTokenFilterFactory
getManagedResourceImplClass
in class BaseManagedTokenFilterFactory
public void onManagedResourceInitialized(NamedList<?> initArgs, ManagedResource res) throws SolrException
SolrException
public TokenStream create(TokenStream input)
create
in class TokenFilterFactory
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.