You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by "Steve Rowe (Confluence)" <co...@apache.org> on 2013/07/24 01:56:00 UTC
[CONF] Apache Solr Reference Guide > Schemaless Mode
Space: Apache Solr Reference Guide (https://cwiki.apache.org/confluence/display/solr)
Page: Schemaless Mode (https://cwiki.apache.org/confluence/display/solr/Schemaless+Mode)
Added by Steve Rowe:
---------------------------------------------------------------------
Schemaless Mode is a set of Solr features that, when used together, allow users to rapidly construct an effective schema by simply indexing sample data, without having to manually edit the schema. These Solr features are:
# Managed schema: Schema modifications are made through Solr APIs rather than manual edits - see [Managed Schema Definition in SolrConfig].
# Field value class guessing: Previously unseen fields are run through a cascading set of value-based parsers, which guess the Java class of field values - parsers for Boolean, Integer, Long, Float, Double, and Date are currently available.
# Automatic schema field addition, based on field value class(es): Previously unseen fields are added to the schema, based on field value Java classes, which are mapped to schema field types - see [Solr Field Types].
These three features are pre-configured in the {{example/example-schemaless/solr/}} directory in the Solr distribution. To start Solr in this pre-configured schemaless mode, go to the {{example/}} directory and start up Solr, setting the {{solr.solr.home}} system property to this directory on the command line:
{code:language=none}
java -Dsolr.solr.home=example-schemaless/solr -jar start.jar
{code}
{scrollbar}
Stop watching space: https://cwiki.apache.org/confluence/users/removespacenotification.action?spaceKey=solr
Change email notification preferences: https://cwiki.apache.org/confluence/users/editmyemailsettings.action