You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2021/03/10 09:45:52 UTC

[lucene] 11/21: javadoc

This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch jira/solr14155
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit 76e02032dc740f5202f8b0103d3158fa9ca4e2c0
Author: noble <no...@apache.org>
AuthorDate: Fri Dec 27 12:01:24 2019 +1100

    javadoc
---
 solr/core/src/java/org/apache/solr/schema/IndexSchema.java | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/solr/core/src/java/org/apache/solr/schema/IndexSchema.java b/solr/core/src/java/org/apache/solr/schema/IndexSchema.java
index dec7fc3..09f6341 100644
--- a/solr/core/src/java/org/apache/solr/schema/IndexSchema.java
+++ b/solr/core/src/java/org/apache/solr/schema/IndexSchema.java
@@ -140,7 +140,14 @@ public class IndexSchema implements Closeable {
   protected String name;
   protected final Version luceneVersion;
   protected float version;
+  /**All resources and other files should be loaded using this
+   */
   protected final SolrResourceLoader loader;
+
+  /**Classes for all plugins should be loaded using this.
+   * If resources need to be loaded from packages, use the classloader of one of the classes
+   * loaded from this package
+   */
   protected final PluginLoader pluginLoader;
 
   protected Map<String,SchemaField> fields = new HashMap<>();