mirror of
https://github.com/apache/lucene.git
synced 2025-02-06 18:18:38 +00:00
SOLR-1027 -- Alias the 'dataimporter' namespace to a shorter name 'dih'.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@757690 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dfdc5a80e1
commit
5b885e1642
@ -226,6 +226,9 @@ Other
|
||||
can act as an event listener.
|
||||
(Noble Paul, shalin)
|
||||
|
||||
5. SOLR-1027: Alias the 'dataimporter' namespace to a shorter name 'dih'.
|
||||
(Noble Paul via shalin)
|
||||
|
||||
================== Release 1.3.0 20080915 ==================
|
||||
|
||||
Status
|
||||
|
@ -319,8 +319,14 @@ public class DataConfig {
|
||||
|
||||
public static final String PROCESSOR = "processor";
|
||||
|
||||
/**
|
||||
* @deprecated use IMPORTER_NS_SHORT instead
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String IMPORTER_NS = "dataimporter";
|
||||
|
||||
public static final String IMPORTER_NS_SHORT = "dih";
|
||||
|
||||
public static final String ROOT_ENTITY = "rootEntity";
|
||||
|
||||
public static final String FUNCTION = "function";
|
||||
|
@ -92,6 +92,7 @@ public class DocBuilder {
|
||||
indexerNamespace.put(key, lastIndex);
|
||||
}
|
||||
}
|
||||
resolver.addNamespace(DataConfig.IMPORTER_NS_SHORT, indexerNamespace);
|
||||
resolver.addNamespace(DataConfig.IMPORTER_NS, indexerNamespace);
|
||||
return resolver;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user