Example usage for org.apache.solr.schema IndexSchema DEFAULT_SCHEMA_FILE

List of usage examples for org.apache.solr.schema IndexSchema DEFAULT_SCHEMA_FILE

Introduction

In this page you can find the example usage for org.apache.solr.schema IndexSchema DEFAULT_SCHEMA_FILE.

Prototype

String DEFAULT_SCHEMA_FILE

To view the source code for org.apache.solr.schema IndexSchema DEFAULT_SCHEMA_FILE.

Click Source Link

Usage

From source file:org.opencms.search.solr.CmsSolrConfiguration.java

License:Open Source License

/**
 * Returns the Solr index schema file.<p>
 *
 * @return the Solr index schema file/*from  w ww.j ava2  s  .  co m*/
 */
public File getSolrSchemaFile() {

    return new File(getHome() + DEFAULT_CONFIGSET_FOLDER + CONF_FOLDER + IndexSchema.DEFAULT_SCHEMA_FILE);
}