You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/02/20 02:13:51 UTC
[Solr Wiki] Update of "SchemaXml" by PeterWolanin
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "SchemaXml" page has been changed by PeterWolanin.
http://wiki.apache.org/solr/SchemaXml?action=diff&rev1=42&rev2=43
--------------------------------------------------
It is not mandatory for a schema to have a uniqueKey field.
+ Note that if you have enabled the QueryElevationComponent in solrconfig.xml it requires the schema to have a uniqueKey of type StrField. It cannot be, for example, an int field.
+
=== The Default Search Field ===
The `<defaultSearchField>` is used by Solr when parsing queries to identify which field name should be searched in queries where an explicit field name has not been used.