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:
Shalin Shekhar Mangar 2009-03-24 08:54:43 +00:00
parent dfdc5a80e1
commit 5b885e1642
3 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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";

View File

@ -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;
}