57 lines
3.5 KiB
XML
57 lines
3.5 KiB
XML
<?xml version="1.0"?>
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
(the "License"); you may not use this file except in compliance with
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<schema name="broker" version="1.1">
|
|
<types>
|
|
<fieldtype name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/>
|
|
<fieldType name="integer" class="solr.IntField" omitNorms="true"/>
|
|
<fieldType name="sint" class="solr.SortableIntField" sortMissingLast="true" omitNorms="true"/>
|
|
</types>
|
|
<fields>
|
|
<field name="ID_CITY" type="string" indexed="true" stored="false" multiValued="false" required="true" comments="城市经纪人编号"/>
|
|
<field name="ID" type="integer" indexed="true" stored="true" multiValued="false" required="true" comments="经纪人编号"/>
|
|
<field name="CITY" type="string" indexed="true" stored="false" multiValued="false" comments="城市"/>
|
|
<field name="REGION" type="string" indexed="true" stored="false" multiValued="true" comments="区县"/>
|
|
<field name="BLOCK" type="string" indexed="true" stored="false" multiValued="true" comments="版块"/>
|
|
<field name="DISTRICT_ID" type="integer" indexed="true" stored="false" multiValued="true" comments="小区ID"/>
|
|
<field name="CALL_COUNT" type="integer" indexed="true" stored="false" multiValued="false" comments="电话量"/>
|
|
<field name="RECOMMEND" type="sint" indexed="true" stored="false" multiValued="false" comments="推荐分数"/>
|
|
</fields>
|
|
<!-- field to use to determine and enforce document uniqueness. -->
|
|
<uniqueKey>ID_CITY</uniqueKey>
|
|
<!-- SolrQueryParser configuration: defaultOperator="AND|OR" -->
|
|
<solrQueryParser defaultOperator="OR"/>
|
|
</schema>
|