public class XMLIndexerFieldsConfig
extends java.lang.Object
XMLIndexer
Constructor and Description |
---|
XMLIndexerFieldsConfig(java.net.URL configIndexUrl) |
Modifier and Type | Method and Description |
---|---|
boolean |
formatIsConfigured(java.lang.String xmlFormatOrSchema)
Determine if the given xmlFormat or schema has a configuration.
|
java.util.Map |
getFieldAnalyzers()
Gets a Map of field/analyzer pairs where keys are field or schema names and values are the corresponding Analyzer
class names as Strings for the custom fields that are defined in this configuration.
|
org.dom4j.Document |
getFormatConfig(java.lang.String xmlFormatOrSchema)
Gets the configuration Document for a given xmlFormat or schema.
|
public XMLIndexerFieldsConfig(java.net.URL configIndexUrl) throws java.lang.Exception
configIndexUrl
- URL to the config index file.java.lang.Exception
- If errorpublic java.util.Map getFieldAnalyzers()
public org.dom4j.Document getFormatConfig(java.lang.String xmlFormatOrSchema)
xmlFormatOrSchema
- An xmlFormat key or schema location for the formatpublic boolean formatIsConfigured(java.lang.String xmlFormatOrSchema)
xmlFormatOrSchema
- An xmlFormat key or schema location for the format