/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/ |
H A D | NewAnalyzerTask.java | 41 public static final Analyzer createAnalyzer(String className) throws Exception{ argument 42 final Class<? extends Analyzer> clazz = Class.forName(className).asSubclass(Analyzer.class); 55 String className = null; 61 className = analyzerClassNames.get(current++); 62 if (className == null || className.equals("")) 64 className = "org.apache.lucene.analysis.standard.StandardAnalyzer"; 66 if (className.indexOf(".") == -1 || className.startsWith("standard."))//there is no package name, assume o.a.l.analysis 68 className [all...] |
H A D | NewCollationAnalyzerTask.java | 44 String className; field in class:NewCollationAnalyzerTask.Implementation 47 Implementation(String className, String collatorClassName) { argument 48 this.className = className; 66 final Class<? extends Analyzer> clazz = Class.forName(impl.className)
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/core/ |
H A D | PluginInfo.java | 33 public final String name, className, type; field in class:PluginInfo 41 this.className = attrs.get("class"); 51 className = DOMUtil.getAttr(node, "class", requireClass ? err : null); 76 if (className != null) sb.append("class = " + className + ",");
|
H A D | RequestHandlers.java | 153 log.info("adding lazy requestHandler: " + info.className); 154 requestHandler = new LazyRequestHandlerWrapper( core, info.className, info.initArgs ); 156 throw new Exception( "Unknown startup value: '"+startup+"' for: "+info.className ); 159 requestHandler = core.createRequestHandler(info.className); 171 log.info("created "+info.name+": " + info.className); 221 public LazyRequestHandlerWrapper( SolrCore core, String className, NamedList args ) argument 224 _className = className;
|
H A D | SolrConfig.java | 465 public final String className; field in class:SolrConfig.UpdateHandlerInfo 469 * @param className 474 public UpdateHandlerInfo(String className, int autoCommmitMaxDocs, int autoCommmitMaxTime, int commitIntervalLowerBound) { argument 475 this.className = className;
|
H A D | SolrCore.java | 256 delPolicy = createInstance(info.className,IndexDeletionPolicy.class,"Deletion Policy for SOLR"); 337 dirFactory = (DirectoryFactory) getResourceLoader().newInstance(info.className); 350 indexReaderFactory = (IndexReaderFactory) resourceLoader.newInstance(info.className); 409 *@param className the instance class to create 415 private <T extends Object> T createInstance(String className, Class<T> cast, String msg) { argument 419 clazz = getResourceLoader().findClass(className); 421 throw new SolrException(SolrException.ErrorCode.SERVER_ERROR,"Error Instantiating "+msg+", "+className+ " is not a " +cast.getName()); 431 return (T) getResourceLoader().newInstance(className);//use the empty constructor 435 throw new SolrException(SolrException.ErrorCode.SERVER_ERROR,"Error Instantiating "+msg+", "+className+ " failed to instantiate " +cast.getName(), e); 441 T o = createInstance(info.className 450 createEventListener(String className) argument 454 createRequestHandler(String className) argument 458 createUpdateHandler(String className) argument 486 createQueryResponseWriter(String className) argument 1747 LazyQueryResponseWriterWrapper(SolrCore core, String className, NamedList args) argument [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/plugin/ |
H A D | AbstractPluginLoader.java | 77 * @param className - class name for requested plugin. In the above example: "solr.ClassName" 81 protected T create( ResourceLoader loader, String name, String className, Node node ) throws Exception argument 83 return (T) loader.newInstance( className, getDefaultPackages() ); 137 String className = DOMUtil.getAttr(node,"class", type); 140 T plugin = create(loader, name, className, node ); 206 String className = DOMUtil.getAttr(node, "class", type); 207 plugin = create(loader, name, className, node);
|
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/response/ |
H A D | AnalysisResponseBase.java | 118 private final String className; field in class:AnalysisResponseBase.AnalysisPhase 121 AnalysisPhase(String className) { argument 122 this.className = className; 131 return className;
|
H A D | LukeResponse.java | 37 String className; field in class:LukeResponse.FieldTypeInfo 54 return className; 99 } else if ("className".equals(key) == true) { 100 className = entry.getValue().toString();
|
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/ |
H A D | DocBuilder.java | 156 private void invokeEventListener(String className) { argument 158 EventListener listener = (EventListener) loadClass(className, dataImporter.getCore()).newInstance(); 161 wrapAndThrow(SEVERE, e, "Unable to load class : " + className);
|