3
Licensed to the Apache Software Foundation (ASF) under one or more
4
contributor license agreements. See the NOTICE file distributed with
5
this work for additional information regarding copyright ownership.
6
The ASF licenses this file to You under the Apache License, Version 2.0
7
(the "License"); you may not use this file except in compliance with
8
the License. You may obtain a copy of the License at
10
http://www.apache.org/licenses/LICENSE-2.0
12
Unless required by applicable law or agreed to in writing, software
13
distributed under the License is distributed on an "AS IS" BASIS,
14
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
See the License for the specific language governing permissions and
16
limitations under the License.
19
<!-- The Solr schema file. This file should be named "schema.xml" and
20
should be located where the classloader for the Solr webapp can find it.
22
This schema is used for testing, and as such has everything and the
23
kitchen sink thrown in. See example/solr/conf/schema.xml for a
26
$Id: schema-replication1.xml 1146191 2011-07-13 18:23:28Z sarowe $
31
<schema name="test" version="1.2">
34
<fieldType name="integer" class="solr.IntField"/>
35
<fieldtype name="string" class="solr.StrField" sortMissingLast="true"/>
42
<field name="id" type="integer" indexed="true" stored="true" multiValued="false" required="false"/>
43
<field name="name" type="string" indexed="true" stored="true"/>
47
<uniqueKey>id</uniqueKey>