├── LICENSE
├── README.md
├── index.md
└── solr-ref-guide-zh
├── 0-apache-solr-reference-guide.md
├── 1-about-this-guide.md
├── 10.0-managing-solr.md
├── 11.0-solrcloud.md
├── 12.0-legacy-scaling-and-distribution.md
├── 13.0-client-apis.md
├── 14.0-further-assistance.md
├── 15.0-solr-glossary.md
├── 16.0-major-changes-from-solr-4-to-solr-5.md
├── 17.0-errata.md
├── 2.0-getting-started.md
├── 2.1-installing-solr.md
├── 2.2-running-solr.md
├── 2.3-a-quick-overview.md
├── 2.4-a-step-closer.md
├── 3.0-upgrading-solr.md
├── 4.0-using-the-solr-administration-user-interface.md
├── 4.1-overview-of-the-solr-admin-ui.md
├── 4.2-getting-assistance.md
├── 4.3-logging.md
├── 4.4-cloud-screens.md
├── 4.5-core-admin.md
├── 4.6-java-properties.md
├── 4.7-thread-dump.md
├── 4.8.0-core-specific-tools.md
├── 4.8.1-analysis-screen.md
├── 4.8.2-dataimport-screen.md
├── 4.8.3-documents-screen.md
├── 4.8.4-files-screen.md
├── 4.8.5-ping.md
├── 4.8.6-plugins-and-stats-screen.md
├── 4.8.7-query-screen.md
├── 4.8.8-replication-screen.md
├── 4.8.9-schema-browser-screen.md
├── 5.0-documents-fields-schema-design.md
├── 5.1-overview-of-documents-fields-schema-design.md
├── 5.10-schemaless-mode.md
├── 5.2.0-solr-field-types.md
├── 5.2.1-field-type-definitions-and-properties.md
├── 5.2.2-field-types-included-with-solr.md
├── 5.2.3-working-with-currencies-and-exchange-rates.md
├── 5.2.4-working-with-dates.md
├── 5.2.5-working-with-enum-fields.md
├── 5.2.6-working-with-external-files-and-processes.md
├── 5.2.7-field-properties-by-use-case.md
├── 5.3-defining-fields.md
├── 5.4-copying-fields.md
├── 5.5-dynamic-fields.md
├── 5.6-schema-api.md
├── 5.7-other-schema-elements.md
├── 5.8-putting-the-pieces-together.md
├── 5.9-docvalues.md
├── 6.0-understanding-analyzers-tokenizers-and-filters.md
├── 7.0-indexing-and-basic-data-operations.md
├── 8.0-searching.md
├── 9.0-the-well-configured-solr-instance.md
└── images
├── 1.2.2-solr-admin-console.png
├── 1.2.2-solr34_responseHeader.png
├── 1.2.3-LucidWorks_diagram.png
├── 1.2.3-distributed.png
├── 1.2.3-replication.png
├── 1.2.3-sharding.png
├── 1.4.1-dashboard.png
├── 1.4.2-Assistance.png
├── 1.4.3-logging.png
├── 1.4.3.0-level_menu.png
├── 1.4.4-cloud-graph.png
├── 1.4.4-cloud-radial.png
├── 1.4.4-cloud-tree.png
├── 1.4.5-coreadmin.png
├── 1.4.6-javaproperties.png
├── 1.4.7-thread_dump_1.png
├── 1.4.7-thread_dump_2.png
├── 1.4.8.0-collection_dashboard.png
├── 1.4.8.1-analysis_normal.png
├── 1.4.8.1-analysis_verbose.png
├── 1.4.8.2-dataimport.png
├── 1.4.8.3-documents_add_screen.png
├── 1.4.8.4-files-screen.png
├── 1.4.8.6-plugin-searcher.png
├── 1.4.8.7-query-top.png
├── 1.4.8.8-replication-master.png
├── 1.4.8.8-replication-slave.png
├── 1.4.8.9-schema_browser_terms.png
├── icon-hint.png
├── icon-problem.png
├── icon-success.png
└── icon-warning.png
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "{}"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright {yyyy} {name of copyright owner}
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
203 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Apache Solr 官方参考手册4.10(中文版) #
2 | 本文档是Apache Solr项目官方参考文档4.10([Apache Solr Reference Guide 4.10](http://archive.apache.org/dist/lucene/solr/ref-guide/apache-solr-ref-guide-4.10.pdf))的中文翻译版,旨在方便大家学习和使用Solr,Solr官方手册能够系统完整的介绍Solr的功能,模块介绍得详细可操作,可以了解设计思路和最佳实践,对Solr有更加准确完整的学习和掌握。
3 |
4 | 对原文档做翻译是为了方便快速入门和查阅,在尊重原文内容的基础上,适当进行了意译和词句调整,使得读起来更通顺易于理解,一些专业词组保留了英文,因为翻译过来反而更难理解,本文档难免有疏漏,欢迎大家提交issue一起完善,有兴趣的同学可以一起参与翻译,在学习和分享中获得进步:)
5 |
6 | 本文档的地址是[这里](https://github.com/yintaoxue/solr-ref-guide-zh),英文原版可以在[这里](http://archive.apache.org/dist/lucene/solr/ref-guide/apache-solr-ref-guide-4.10.pdf)下载,官方cwiki地址是[这里](https://cwiki.apache.org/confluence/display/solr/Apache+Solr+Reference+Guide)。
7 |
8 | 当前翻译进度:(35/511)=7%
9 |
10 |
11 | ## 目录 ##
12 |
13 |
14 | ### 0 [说明](solr-ref-guide-zh/0-apache-solr-reference-guide.md) ###
15 | ### 1 [关于](solr-ref-guide-zh/1-about-this-guide.md) ###
16 | ### 2 [开始使用Solr](solr-ref-guide-zh/2.0-getting-started.md) ###
17 | ### 3 [升级Solr](solr-ref-guide-zh/3.0-upgrading-solr.md) ###
18 | ### 4 [Solr管理后台](solr-ref-guide-zh/4.0-using-the-solr-administration-user-interface.md) ####
19 | ### 5 [文档、字段和schema设计](solr-ref-guide-zh/5.0-documents-fields-schema-design.md) ###
20 |
21 | ----------
22 |
23 | ### 11 [SolrCloud](solr-ref-guide-zh/11.0-solrcloud.md) ###
24 |
25 | ### LICENSE
26 | 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
27 |
28 | http://www.apache.org/licenses/LICENSE-2.0
29 |
30 | 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.
31 |
32 | ### Trademark
33 | Apache and the Apache feather logo are trademarks of The Apache Software Foundation. Apache Lucene, Apache Solr and their respective logos are trademarks of the Apache Software Foundation. Please see the [Apache Trademark Policy](http://www.apache.org/foundation/marks/) for more information.
34 |
--------------------------------------------------------------------------------
/index.md:
--------------------------------------------------------------------------------
1 | # Apache Solr 官方参考手册4.10(中文版) #
2 |
3 | ## 目录 ##
4 |
5 | ### 0 [说明](solr-ref-guide-zh/0-apache-solr-reference-guide.md) ###
6 | ### 1.1 [关于](solr-ref-guide-zh/1.1-about-this-guide.md) ###
7 | ### 1.2 [开始使用Solr](solr-ref-guide-zh/1.2.0-getting-started.md) ###
8 | ##### 1.2.1 [安装Solr](solr-ref-guide-zh/1.2.1-installing-solr.md) #####
9 | ##### 1.2.2 [运行Solr](solr-ref-guide-zh/1.2.2-running-solr.md) #####
10 | ##### 1.2.3 [快速总览](solr-ref-guide-zh/1.2.3-a-quick-overview.md) #####
11 | ##### 1.2.4 [更进一步](solr-ref-guide-zh/1.2.4-a-step-closer.md) #####
12 | ### 1.3 [升级Solr](solr-ref-guide-zh/1.3-upgrading-solr.md) ###
13 |
14 | ----------
15 |
16 | ### 1.4 [Solr管理后台](solr-ref-guide-zh/1.4.0-using-the-solr-administration-user-interface.md) ####
17 | #### 1.4.1[Solr管理后台概览](solr-ref-guide-zh/1.4.1-overview-of-the-solr-admin-ui.md) ####
18 | #### 1.4.2[获得帮助](solr-ref-guide-zh/1.4.2-getting-assistance.md) ####
19 | #### 1.4.3[日志](solr-ref-guide-zh/1.4.3-logging.md) ####
20 | #### 1.4.4[Cloud界面](solr-ref-guide-zh/1.4.4-cloud-screens.md) ####
21 | #### 1.4.5[Core Admin](solr-ref-guide-zh/1.4.5-core-admin.md) ####
22 | #### 1.4.6[Java参数](solr-ref-guide-zh/1.4.6-java-properties.md) ####
23 | #### 1.4.7[Thread Dump](solr-ref-guide-zh/1.4.7-thread-dump.md) ####
24 | #### 1.4.8[Core管理工具](solr-ref-guide-zh/1.4.8.0-core-specific-tools.md) ####
25 |
26 | ----------
27 |
28 | ### 1.5[文档、字段和schema设计](1.5.0-documents-fields-schema-design.md) ###
29 | #### 1.5.1[文档、字段和schema设计概述](1.5.1-overview-of-documents-fields-schema-design.md) ####
30 | #### 1.5.2[Solr字段类型](1.5.2.0-solr-field-types.md) ####
31 | #### 1.5.3[定义字段](1.5.3-defining-fields.md) ####
32 | #### 1.5.4[拷贝字段](1.5.4-copying-fields.md) ####
33 | #### 1.5.5[动态字段](1.5.5-dynamic-fields.md) ####
34 | #### 1.5.6[Schema API](1.5.6-schema-api.md) ####
35 | #### 1.5.7[其他Schema属性](1.5.7-other-schema-elements.md) ####
36 | #### 1.5.8[综合配置](1.5.8-putting-the-pieces-together.md) ####
37 | #### 1.5.9[DocValues](1.5.9-docvalues.md) ####
38 | #### 1.5.10[Schemaless Mode](1.5.10-schemaless-mode.md) ####
39 | ----------
40 |
41 | ### 11 [SolrCloud](solr-ref-guide-zh/11.0-solrcloud.md) ###
42 |
43 | ### LICENSE
44 | 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
45 |
46 | http://www.apache.org/licenses/LICENSE-2.0
47 |
48 | 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.
49 |
50 | ### Trademark
51 | Apache and the Apache feather logo are trademarks of The Apache Software Foundation. Apache Lucene, Apache Solr and their respective logos are trademarks of the Apache Software Foundation. Please see the [Apache Trademark Policy](http://www.apache.org/foundation/marks/) for more information.
52 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/0-apache-solr-reference-guide.md:
--------------------------------------------------------------------------------
1 | 本文档是开源搜索引擎Apache Solr的参考手册,你可以从Solr的官方网站下载Solr:[http://lucene.apache.org/solr/](http://lucene.apache.org/solr/.)。
2 |
3 | 本文档包含以下主题:
4 |
5 | **Getting Started**:介绍Solr的安装与配置
6 |
7 | **Solr管理后台的使用**:介绍Solr的Web管理后台,在浏览器中可以查看配置文件、提交查询、查看日志文件配置、Java环境参数以及监控和控制分布式配置等功能。
8 |
9 | **Documents、Fields以及Schema的设计**:介绍Solr是怎样给数据建立索引的,怎样在schema文件中定义字段以及字段类型,来实现对数据索引。
10 |
11 | **理解分析器(Analyzers)、分词器(Tokenizers)和过滤器(Filters)**:介绍Solr如何对文本进行索引和检索。分析器Analyzers)解析文本并产生一连串的字符(tokens)和词法单元(lexical units)用于建立索引和检索。分词器(Tokenizers)将字段的数据解析成字符单元(tokens)。过滤器(Filters)对tokens进行其他的转换处理和过滤操作。
12 |
13 | **建索引(Indexing)及索引操作基础**:介绍建索引的过程以及基础的索引管理操作,如commit、optimize和rollback。
14 |
15 | **检索(Searching)**:对Solr的检索过程进行了整体介绍,介绍了检索过程中用到的组件,包括request handlers、query parsers、response writers。介绍了可用的查询参数,以及boosting、faceting等高级特性。
16 |
17 | **Solr实例配置详解**:介绍Solr性能调优,以及如何配置solrconfig.xml、solr.xml、Lucene index writer等。
18 |
19 | **管理Solr**:介绍运行和监控Solr的关键点,如何备份Solr实例,如何在Solr中使用JMX(Java Management Extensions)等。
20 |
21 | **SolrCloud**:介绍Solr最新的特性,支持分布式检索的SolrCloud。
22 |
23 | **遗留系统的扩展与切分**:介绍如何将已有的比较大的索引切分成可部署到多台机器上的shards,或者把单个索引复制成多个来提供多个服务。
24 |
25 | **Client APIs**:介绍各种连接Solr的客户端APIs,包括JavaScript、JSON、Ruby等。
--------------------------------------------------------------------------------
/solr-ref-guide-zh/1-about-this-guide.md:
--------------------------------------------------------------------------------
1 | # About This Guide #
2 | 本文档介绍了Apache Solr的所有重要特性和功能。可以从这里免费下载:[http://lucene.apache.org/solr/](http://lucene.apache.org/solr/.)。
3 |
4 | 本文档写作之初的定位就是要提供一个较高层次的文档,提供更为广博的内容,而不是一本手把手的入门手册。可以提供多层次的需要,从新手入门到有经验的开发者扩展自己应用或者解决难题。在软件开发生命周期的任何时候,它都可以提供一份权威的指南帮助你了解Solr。
5 |
6 | 本文档假定你已经熟悉搜索引擎的基础概念,并且你能够阅读XML。并不要求你一定是Java开发者,但有一定的Java知识,可以更好的直接使用Lucene或者开发Lucene/Solr的自定义扩展。
7 |
8 | ## 内部注释 ##
9 | 文档中包含了以下特殊的注释。
10 |
11 |
12 | 注释类型 | 展现样式 |
13 |
14 |
15 | 信息 | 提示有重要的信息需要关注 |
16 |
17 |
18 | 提示 | 有帮助的建议提示 |
19 |
20 |
21 | 警告 | 警告信息 |
22 |
23 |
24 | 注释 | 标明在使用Solr中需要特别注意的关键点 |
25 |
26 |
27 |
28 | ## Hosts和Port示例 ##
29 | 启动Solr的默认端口是8983,在本文档中的示例、URL、截图可能会使用不同的端口号,是因为Solr使用的端口号是可以自定义设置的。如果你没有进行自定义设置,在接下来的例子中,你需要使用默认的8983端口,或者使用自己定义的端口号。关于设置端口号参见[管理Solr]()。
30 |
31 | 同样的,示例中的URL使用的都是'localhost',如果你访问的是远程机器上的Solr,需要把'localhost'换成具体的域名或者IP。
32 |
33 | ## 路径 ##
34 | 路径信息都是相对于solr.home的相对路径,solr.home是安装的Solr目录下保存Solr collections和它们的conf、data目录的路径。当运行本文档中的示例时,比如:bin/solr -e techproducts,solr.home是自动为你创建的example/目录的子目录。
35 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/10.0-managing-solr.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/10.0-managing-solr.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/11.0-solrcloud.md:
--------------------------------------------------------------------------------
1 | # SolrCloud #
2 |
3 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/12.0-legacy-scaling-and-distribution.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/12.0-legacy-scaling-and-distribution.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/13.0-client-apis.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/13.0-client-apis.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/14.0-further-assistance.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/14.0-further-assistance.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/15.0-solr-glossary.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/15.0-solr-glossary.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/16.0-major-changes-from-solr-4-to-solr-5.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/16.0-major-changes-from-solr-4-to-solr-5.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/17.0-errata.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/17.0-errata.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/2.0-getting-started.md:
--------------------------------------------------------------------------------
1 | # Getting Started #
2 | Solr为开发者提供了一种开箱即用的、可靠的、高性能的搜索引擎解决方案,它包含如faceting(将搜索结果按类别汇总展示结果数)等高级特性。Solr是基于Lucene,Lucene不是一个完整的搜索引擎,它只是提供了搜索引擎的基础功能的Java开源工具包,它包含建索引、检索、拼写检查、高亮以及分词器等功能模块。Solr和Lucene都是Apache社区([www.apache.org](www.apache.org))的开源项目。
3 |
4 | Lucene目前是15大开源项目之一,也是Apache社区开源项目的前5名之一,有超过4000家公司在使用。Lucene/Solr的下载量在过去的三年里增长了近十倍,目前每天有6000多次下载。Solr是建立在Lucene基础之上的开箱即用的搜索平台,也是发展最迅速的Lucene子项目。Apache Lucene/Solr相对于商业的搜索引擎来说更具有吸引力。
5 |
6 | 本章帮助你快速的搭建起Solr,并介绍Solr的基础架构和特性,主要包括以下内容:
7 |
8 | **[安装Solr](1.2.1-installing-solr.md)**:安装Solr的完整过程。
9 |
10 | **[运行Solr](1.2.2-running-solr.md)**:介绍运行Solr,包括启动服务、添加文档、执行查询。
11 |
12 | **[总体概览](1.2.3-a-quick-overview.md)**:从整体了解Solr是怎样工作的。
13 |
14 | **[更近一步](1.2.4-a-step-closer.md)**:介绍Solr的home目录及配置选项。
15 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/2.1-installing-solr.md:
--------------------------------------------------------------------------------
1 | # 安装Solr #
2 | 本节介绍如何安装Solr。你可以在任何装有合适版本的Java运行时环境(JRE)的地方安装Solr,目前支持Linux、OS X和Windows。下面的说明在所有平台上都适用,Windows上特殊注意的几点已说明。
3 |
4 | ### Got Java? ###
5 | 你需要安装1.7或更高的JRE,在命令行检查你的Java版本:
6 |
7 | $ java -version
8 | java version "1.7.0_55"
9 | Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
10 | Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
11 |
12 | 你的输出结果可能不同,需要保证JRE是1.7或更高版本。如果版本不对或者没找到Java命令,可以在Oracle官网下载最新版本:[http://www.oracle.com/technetwork/java/javase/downloads/index.html](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
13 |
14 | ### 安装Solr ###
15 | Solr可以从官网获得:[http://lucene.apache.org/solr/](http://lucene.apache.org/solr/).
16 |
17 | 对于Linux/Unix/OSX系统,下载.tgz文件。对于Windows系统,下载.zip文件。
18 | Solr需要运行在Tomcat、Jetty或者Resin等Java servlet容器中。Solr发布包中提供了一个Jetty的server示例,在Example目录中。更多的关于示例server的信息参见[Solr Tutorial](http://lucene.apache.org/solr/4_10_0/tutorial.html).
19 |
20 | Solr在example目录中包含一个针对Solr优化过的Jetty server.建议使用提供的Jetty server以达到最佳性能。如果你确实需要使用其他的servlet容器,参考下节内容,如何安装Solr。
21 | |
22 |
23 | #### 安装Solr ####
24 | 1. 解压缩Solr发布包到自己选定的目录。
25 | 2. 停掉Java servlet容器。
26 | 3. 将solr.war拷贝到servlet氢气的webapps目录下,不要改变solr.war包的名称。
27 | 4. 将Solr目录中的solr-4.x.0/example/solr拷贝到自己选定的Solr Home目录。
28 | 5. 启动server,通过以下方式之一传入Solr Home参数:
29 | - 使用Java系统参数solr.solr.home来指定Solr Home。(如,在jetty启动命令中加入:java -Dsolr.solr.home=/some/dir -jar start.jar).
30 |
31 | - 在server中设置JNDI查找,java:comp/env/solr/home.
32 |
33 | - 在包含./solr的目录中启动server,默认Solr Home是JVM的当前工作目录(#CWD/solr).
34 |
35 | 可以打开Solr Admin页面(http://localhost:8983/solr/)来确认是否安装成功,注意URL使用你的server启动的端口号,如果端口号已经被使用,Solr无法正常启动,或者停掉使用该端口号的server,或者改用其他端口。
36 |
37 | 更多关于在其他Java servlet容器中安装Solr的内容,可以查看Solr Wiki中的[SolrInstall](https://wiki.apache.org/solr/SolrInstall).
38 |
39 | 当部署Solr生产环境时,可以参考文档[部署Solr生产环境](https://cwiki.apache.org/confluence/display/solr/Taking+Solr+to+Production)。
40 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/2.2-running-solr.md:
--------------------------------------------------------------------------------
1 | # 运行Solr #
2 | 本节介绍如何使用默认的schema运行Solr,如何添加文档和执行查询。
3 |
4 | ### 启动Server ###
5 | 在bin/solr目录下启动:
6 |
7 | $ bin/solr -f
8 |
9 | 在Windows环境下,使用bin\solr.cmd:
10 |
11 | C:\Applications\Solr\bin\solr.cmd -f
12 |
13 | 这样会在前台启动Solr,监听8983端口。bin/solr和bin\solr.cmd脚本可以自定义启动参数。下面使用bin/solr脚本来进行一些实例操作。(在Windows中bin\solr.cmd可以提供同样的功能)
14 |
15 | #### Solr脚本参数 ####
16 | bin/solr脚本支持有以下参数:
17 | **Script Help**
18 | 查看脚本都有哪些功能:
19 |
20 | $ bin/solr -help
21 |
22 | 获取指定的命令帮助信息,如start命令:
23 |
24 | $ bin/solr start -help
25 |
26 | **在后台启动Solr**
27 | 上面使用-f命令在前台启动Solr,Unix/Linux上一般将server在后台启动:
28 |
29 | $ bin/solr start
30 |
31 | 该脚本会等待Solr启动完成才返回当前命令行。
32 |
33 | **在其他端口启动Solr**
34 | 使用-p参数来改变Solr启动监听的端口号:
35 |
36 | $ bin/solr start -p 8984
37 |
38 | **关闭Solr**
39 | 当在前台启动Solr时,可以使用Ctrl-c来停止,如果是在后台启动的,可以使用stop命令:
40 |
41 | $ bin/solr stop
42 |
43 | **使用指定的默认配置来启动Solr**
44 | Solr提供了一些有用的示例来帮助学习关键功能。可以使用-e参数来加载指定的配置,如加载Data Import Handle的示例配置:
45 |
46 | $ bin/solr -e dih
47 |
48 | 目前,可用的示例配置有:default、dih、schemaless和cloud。
49 |
50 | **检查Solr是否正在运行**
51 | 可以使用-i参数来检查Solr是否正在本地运行:
52 |
53 | $ bin/solr -i
54 |
55 | 该命令会检查当前机器上运行的Solr实例,并返回版本和内存使用等基础信息。
56 |
57 | 更多关于Solr cloud的启动模式,参见:[Getting Started with SolrCloud]()
58 |
59 | 可以通过Admin控制台确认Solr启动成功:[http://localhost:8983/solr/](http://localhost:8983/solr/).
60 |
61 |
62 | *Solr Admin界面*
63 |
64 | 如果Solr没有启动,浏览器会提示不能连接到server,检查你的端口号然后重试下。
65 |
66 | ### 添加文档 ###
67 | Solr的功能就是查找到符合条件的文档,Solr的schema指定了内容的组织结构,想要查询首先要添加文档到Solr中。
68 |
69 | Solr在example/exampledocs中提供了示例文档来使用,其中的post.jar是一个提交文档到索引的Java小工具。后续会详细介绍索引的细节内容。
70 |
71 | 可以通过-help选项查看如何使用:
72 |
73 | $ java -jar post.jar -help
74 |
75 | SimplePostTool是一个简单的提交XML到Solr的命令行工具。XML数据可以通过命令行参数指定文件名的方式提交,也可以通过STDIN。
76 |
77 | java -Ddata=files -jar post.jar *.xml
78 | java -Ddata=args -jar post.jar '42'
79 | java -Ddata=stdin -jar post.jar < hd.xml
80 |
81 | 另外可以通过传入系统参数,如Solr的URL、是否commit来控制操做,默认的系统参数是:
82 |
83 | -Ddata=files
84 | -Durl=http://localhost:8983/solr/update
85 | -Dcommit=yes
86 |
87 | 将目录下所有文档提交到Solr:
88 |
89 | $ java -Durl=http://localhost:8983/solr/update -jar post.jar *.xml
90 | SimplePostTool: version 1.2
91 | SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8, other
92 | encodings are not currently supported
93 | SimplePostTool: POSTing files to http://10.211.55.8:8983/solr/update..
94 | SimplePostTool: POSTing file hd.xml
95 | SimplePostTool: POSTing file ipod_other.xml
96 | SimplePostTool: POSTing file ipod_video.xml
97 | SimplePostTool: POSTing file mem.xml
98 | SimplePostTool: POSTing file monitor.xml
99 | SimplePostTool: POSTing file monitor2.xml
100 | SimplePostTool: POSTing file mp500.xml
101 | SimplePostTool: POSTing file sd500.xml
102 | SimplePostTool: POSTing file solr.xml
103 | SimplePostTool: POSTing file spellchecker.xml
104 | SimplePostTool: POSTing file utf8-example.xml
105 | SimplePostTool: POSTing file vidcard.xml
106 | SimplePostTool: COMMITting Solr index changes..
107 | Time spent: 0:00:00.633
108 | $
109 |
110 | OK!Solr已经索引了文件中的所有文档。
111 |
112 | ### 其他问题 ###
113 | Solr已经有索引的文档了,现在可以执行查询了。最简单的方式是像其他HTTP URL一样拼接一个URL。
114 | 例如,下面的查询是在所有文档字段中查找“video”:
115 |
116 | [http://localhost:8983/solr/select?q=video](http://localhost:8983/solr/select?q=video)
117 |
118 | 注意该URL包含host名(localhost),端口号(8983),应用名(solr),request handle(select)以及查询语句(q=video)。
119 |
120 | 返回的结果是一个XML文档,包含两部分,第一部分是responseHeader,它包含响应结果的信息。最主要的是result标签,它包含一个或多个doc标签,每个doc标签包含查询到的文档的所有字段。你可以使用标准的XML解析工具来以友好的方式展示给用户。另外,Solr可以将结果输出为JSON、PHP、Ruby甚至自定义的格式。
121 |
122 |
123 |
124 | *XML格式的请求结果*
125 |
126 | 一旦掌握了基本的查询语法,很容易扩展到更多的查询方式,下面的查询限定了返回的字段,如果不限制默认返回所有字段:
127 |
128 | [http://localhost:8983/solr/select?q=video&fl=id,name,price](http://localhost:8983/solr/select?q=video&fl=id,name,price)
129 |
130 | 下面是只在name字段中查询"black",如果不指定查询的字段,Solr会查默认字段,该字段设置在schema中。
131 |
132 | [http://localhost:8983/solr/select?q=name:black](http://localhost:8983/solr/select?q=name:black)
133 |
134 | 可以使用范围查询,下面的查询是查找price在$0到$400之间的所有文档:
135 |
136 | [http://localhost:8983/solr/select?q=price:[0%20TO%20400]&fl=id,name,price](http://localhost:8983/solr/select?q=price:[0%20TO%20400]&fl=id,name,price)
137 |
138 | Faceting是Solr的一个高级特性,它提供了一种可以逐步缩小查询结果的查询方式。比如一个购物网站可以提供facets来按照制造商或者价格来缩小查询结果的范围。
139 |
140 | Faceting信息是作为Solr查询结果的第三部分返回的,以下查增加了facet=true和facet.field=cat参数:
141 |
142 | [http://localhost:8983/solr/select?q=price:[0%20TO%20400]&fl=id,name,price&facet=true&facet.field=cat](http://localhost:8983/solr/select?q=price:[0%20TO%20400]&fl=id,name,price&facet=true&facet.field=cat)
143 |
144 | 返回结果增加了facet_counts标签,以下是示例的查询结果:
145 |
146 |
147 |
148 | ...
149 |
150 |
151 |
152 | SOLR1000
153 | Solr, the Enterprise Search Server
154 | 0.0
155 | ...
156 |
157 |
158 |
159 |
160 |
161 | 6
162 | 3
163 | 2
164 | 2
165 | 1
166 | 1
167 | 1
168 | 1
169 | 1
170 | 1
171 | 0
172 | 0
173 | 0
174 | 0
175 | 0
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 | fact信息提供了每一种cat的值有多少查询结果,这种功能可以很容易给用户提供更快速的缩小查询结果的方式。你还可以增加一到多个过滤参数来过滤查询结果,下面的查询是限制为category是“software”的:
184 |
185 | http://localhost:8983/solr/select?q=price:[0%20TO%20400]&fl=id,name,price&facet=true&facet.field=cat&fq=cat:software
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/2.3-a-quick-overview.md:
--------------------------------------------------------------------------------
1 | # 总体概览 #
2 | 以下是Solr的一种应用场景的整体结构图:
3 |
4 | 在上面的场景中,Solr和其他应用运行在同一个Web Server中。比如一个在线商店应用会提供用户结果、购物车以及支付功能,商品的条目存储在数据库中。
5 |
6 | 通过以下步骤Solr可以方便的提供搜索在线商店商品的功能:
7 | 1. 定义一个schema,告诉Solr将要索引的文档的结构。比如在线商店会定义产品名称、描述、价格、制造商等字段。Solr的schema非常强大和灵活,足以满足应用需要。See Documents, Fields, and Schema Design for all the details.
8 | 2. 将Solr部署到应用服务器中。
9 | 3. 将用户要搜索的文档加入到Solr中。
10 | 4. 在你的应用中完成查询功能。
11 |
12 | Solr是基于公开标准的,很容易扩展,Solr的查询是RESTful的,查询是是一个简单的HTTP请求URL,结果是一个结构化的文档,格式可以是XML、JSON、CSV和其他格式。这使得应用可以通过多种方式使用Solr,如浏览器客户端、富客户端应用、移动设备及其他任何支持HTTP的方式。更多关于客户端API参见[Client APIs]()
13 |
14 | Solr是基于Apache Lucene的高性能、功能完备的搜索引擎。Solr既支持最简单的关键词查询到多字段的复杂查询以及facet查询等。更多关于检索和查询参见[Searching]()
15 |
16 | Solr处理大规模数据的能力令人印象深刻,常见的场景是,面对大量的查询请求一台服务器无法快速响应时,你可以创建多份索引拷贝,这被称为replication.这样就可以通过一定的算法规则将新进的查询分配到多份索引拷贝上,最简单的算法就是roud-robin。
17 |
18 |
19 |
20 | 另外一种技术是sharding,如果你索引的文档数量太大,可能由于内存或者索引大小的问题无法全部放在一个节点中,你可以将一个索引分割成多份,成为shards.每个shard在自己的物理机上,一个查询会被发送到所有的shard机器上,然后合并返回搜索结果。
21 |
22 |
23 |
24 | 如果你有大量的文档和用户,你可能需要将sharding和replication两种技术结合起来使用。针对这种情况,Solr的新功能SolrCloud可以更高效的满足你的需求。SolrCloud提供了一系列功能简化了分布式索引和查询的处理。
25 |
26 |
27 |
28 | 关于sharding和replication的更多细节参见[Legacy Scaling and Distribution]().SolrCloud在单独的章节介绍:[SolrCloud]().
29 |
30 | Solr能够支撑大规模数据的应用并非猜测,很多有名的网站目前都在使用Solr,如Macy's、Ebay、Zappo's.
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/2.4-a-step-closer.md:
--------------------------------------------------------------------------------
1 | # 更进一步 #
2 | 你对Solr的schema应该已经有一些了解了。本节会介绍Solr的home目录和其他配置参数。
3 |
4 | 当Solr在Web服务器中运行时,它需要访问一个home目录,它包含一些重要的配置信息,也是保存Solr索引的位置。
5 |
6 | Solr home目录的关键信息如下:
7 |
8 | /
9 | solr.xml
10 | conf/
11 | solrconfig.xml
12 | schema.xml
13 | data/
14 |
15 | 你需要提供solr.xml、solrconfig.xml和schema.xml来告诉Solr如何运行。Solr默认将索引保存到data目录中。
16 |
17 | solr.xml指定了Solr core的信息,Solr支持多个core,更多关于solr.xml的信息参见[The Wel-Configured Solr Instance]().
18 |
19 | solrconfig.xml包含一些Solr的关键配置,比如你可以指定新的索引文件存储目录,更多关于solrconfig.xml的信息参见[The Well-Configured Solr Instance]()/
20 |
21 | schema.xml描述了Solr要索引的文档信息,一个文档是通过一系列字段来描述的,你可知定义字段类型和字段本身。字段定义功能很强大,支持配置Solr如何处理字段值以及查询值。更多关于schema.xml的信息参见[Documents,Fields,and Schema Design]().
22 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/3.0-upgrading-solr.md:
--------------------------------------------------------------------------------
1 | # 升级Solr #
2 | 如果你正在使用的是Solr4.9、Solr4.10,升级不会有太大问题,不过你需要查阅[CHANGES.txt](http://lucene.apache.org/solr/4_10_0/changes/Changes.html)文件确认修改和升级对现在的版本会产生哪些影响。
3 |
4 | ### 从4.9.x升级 ###
5 | - 在Solr3.6,当schema版本是1.5或更高时,所有的原始类型默认是omit norms的([SOLR-3140](https://issues.apache.org/jira/browse/SOLR-3140)),但TrieDateField的默认值没有设置,这是一个错误。在4.10,TrieDateField默认是omits norms的(参见[SOLR-6211](https://issues.apache.org/jira/browse/SOLR-6211)).
6 | - 通过`CoreContainer.create()`来创建一个`SolrCore`不在需要再调用`CoreContainer.register()`来让SolrCore生效(参见[SOLR-6170](https://issues.apache.org/jira/browse/SOLR-6170)).
7 | - `CoreContainer.remove()`已经被移除,你现在需要使用`CoreContainer.unload()`来删除一个`SolrCore`(参见[SOLR-6232](https://issues.apache.org/jira/browse/SOLR-6232)).
8 | - solr.xml做了解析优化,增加了数据类型的选项。增加了语法检查,当有重复的设置选项、未知的选项名以及拼写错误都会有错误信息提示。如果之前的solr.xml中存在这些问题,在升级后启动时会报错。(参见[SOLR-5746](https://issues.apache.org/jira/browse/SOLR-5746))
9 |
10 | ### 从更早的版本升级 ###
11 | 以下是从更早的版本升级时需要注意的关键点,强烈建议查阅CHAGENS.txt来了解版本升级的细节。
12 | - 在Solr4.9中,由于性能原因移除了DiskDocValuesFormat(比如字段类型设置了docValuesFormat="Disk"),如果你现在的字段类型中使用了DiskDocValuesFormat,请修改你的schema.xml移除'docValuesFormat'属性,并且optimize你的索引来使默认的编码器生效,在升级到4.9及以后版本中请注意该问题,参见[LUCENE-5761](http://issues.apache.org/jira/browse/LUCENE-5761).
13 | - 从Solr4.8开始,Solr需要Java7或更高版本,当使用Oracle Java7或者OpenJDK7时,请确认不要使用GA build 147或u40,u45和u51!我们推荐使用u55及以后版本。已知的JVM bugs参见[http://wiki.apache.org/lucene-java/JavaBugs](http://wiki.apache.org/lucene-java/JavaBugs)
14 | - 在4.8版本之前,超过Lucene的MAX_TERM_LENGTH的词组会在建索引的时候自动忽略。从Solr4.8开始,一个文档如果索引的字段太大会报错。如果你仍然希望大词组被忽略,在你的所有分词器(Analyzer)中设置solr.LengthFilterFatory。详细参见[LUCENE-5472](http://issues.apache.org/jira/browse/LUCENE-5472).
15 | - schema.xml中的和标签被废弃了。这样你也可以将、和标签混在一起使用了,目前这些标签仍然被支持,在5.0版本中会正式废弃。详细参见[SOLR-5228](https://issues.apache.org/jira/browse/SOLR-5228).
16 | - 在Solr4.7中,由于上一个版本中的bug,如果你用默认的方式使用了`DefaultSimilarityFactory`而不是明确指定,[DefaultSimilarity](https://cwiki.apache.org/confluence/display/solr/Other+Schema+Elements#OtherSchemaElements-Similarity)的属性discountOverlap不会被正确的设置。为了和升级之前保持一致,在4.6和更低版本中设置--discountOverlap=false,在4.7及更高版本中设置discountOverlap=true.详细参见[SOLR5561](https://issues.apache.org/jira/browse/SOLR-5561).
17 | - 在Solr4.6中,solrconfig.xml中的infoStream的“file”属性被移除了。在你的logging配置(org.apache.solr.update.LoggingInfoStream)中设置。
18 | - TODO
19 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.0-using-the-solr-administration-user-interface.md:
--------------------------------------------------------------------------------
1 | # Solr Admin UI #
2 | 本章介绍Solr的Admin管理后台("Admin UI").[Solr Admin UI概述](1.4.1-overview-of-the-solr-admin-ui.md)介绍Solr4中Admin后台的最新功能,以及如何配置。Admin UI中的每个页面会单独介绍:
3 |
4 | - **[获得帮助](1.4.2-getting-assistance.md)** 如何获得更多帮助信息
5 | - **[Logging](1.4.3-logging.md)** 介绍各种日志级别以及如何使用
6 | - **[Cloud界面](1.4.4-cloud-screens.md)** SolrCloud模式中展示node的信息
7 | - **[Core Admin](1.4.5-core-admin.md)** 介绍如何查看每个core的管理信息
8 | - **[Java参数](1.4.6-java-properties.md)** 展示每个core的Java参数信息
9 | - **[Thread Dump](1.4.7-thread-dump.md)** 可以查看每个线程的详细信息和状态信息
10 | - **[Core管理工具](1.4.8.0-core-specific-tools.md)** 介绍单个core的管理界面
11 | - [Analysis](1.4.8.1-analysis-screen.md)-分析指定字段的数据
12 | - [Dataimport](1.4.8.2-dataimport-screen.md)-展示Data Import Handler的当前状态信息
13 | - [Documents](1.4.8.3-documents-screen.md)-你可以通过浏览器中的一个简单的表单来执行各种Solr建索引的命令
14 | - [Files](1.4.8.4-files-screen.md)-显示当前core的配置文件信息如solrconfig.xml和schema.xml
15 | - [Ping](1.4.8.5-ping.md)-通过ping一个core来检查它是否可用
16 | - [Plugins/Stats](1.4.8.6-plugins-and-stats-screen.md)-显示插件和其他已安装模块的统计信息
17 | - [Query](1.4.8.7-query-screen.md)-你可以向一个core提交可以包含多种参数的结构化的查询
18 | - [Replication](1.4.8.8-replication-screen.md)-显示当前replication的状态,也可以启用/禁用replication
19 | - [Schema Browser](1.4.8.9-schema-browser-screen.md)-在浏览器中展示schema数据
20 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.1-overview-of-the-solr-admin-ui.md:
--------------------------------------------------------------------------------
1 | # Solr Admin UI概述 #
2 | Solr提供了一个Web管理界面,方便Solr管理者和开发者查看Solr配置信息、执行查询或者分析文档字段、进行性能调优、访问一些在线文档或者获得其他帮助信息。
3 |
4 |
5 |
6 | 在Solr4中,Solr Admin进行了完全重新设计:
7 |
8 | - 加载页面更快速
9 | - 从控制面板访问和选择功能
10 | - 重用了通过外部接口访问Solr相关数据的servlets
11 | - 统一了单个core和多个core的视图
12 |
13 | 访问URL http://hostname:8983/solr/(如果启动Jetty使用的默认8983端口),会看到分成左右两部分的控制台界面。
14 |
15 | 左侧菜单提供了访问各功能界面的导航,上面一组链接是查看系统信息和配置的,查看Logging、Core Amin和Java参数等。下面提供了一个Solr core实例的选择菜单,选择一个core之后会展示针对core的二级功能菜单。功能列表包括Schema、Config、Plugins以及执行查询等功能。
16 |
17 | 中间内容展示类选中的功能选项的详细信息,内容可能是参数、文本或者图示化的信息。下面会详细介绍每个界面:
18 |
19 | ### 在solrconfig.xml中设置Admin UI ###
20 | 你可以在solrconfig.xml中设置Solr Admin UI.
21 |
22 | solrconfig.xml中的标签定义了在core的查询界面中的默认查询,默认是\*:\*,来查询所有文档,在示例中,我们改成solr.
23 |
24 |
25 | solr
26 |
27 |
28 | **相关话题** [配置solrconfig.xml]()
29 |
30 |
31 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.2-getting-assistance.md:
--------------------------------------------------------------------------------
1 | # 获得帮助 #
2 | 在Admin UI的每个页面底部都有一组链接,通过它们可以获得更多关于配置和使用Solr的帮助。
3 |
4 |
5 | *帮助链接*
6 |
7 | 这些图标包含以下链接:
8 |
9 |
10 |
11 | | 链接 | 描述 |
12 |
13 |
14 | Documentation | 链接到Apapche Solr文档地址 [http://lucene.apache.org/solr/](http://lucene.apache.org/solr/) |
15 |
16 |
17 | Issue Tracker | 链接到Apache Solr项目的JIRA bug管理系统 [http://issues.apache.org/jira/browse/SOLR](http://issues.apache.org/jira/browse/SOLR) |
18 |
20 | IRC Channel | 可以连接到Solr的IRC频道,irc.freenode.net的7000端口,#solr频道 |
21 |
23 | Community forum | 链接到Solr的社区论坛,目前是邮件列表及其历史档案 |
24 |
26 | Solr Query Syntax | 连接到Apache介绍Solr查询语法的Wiki页面:[http://wiki.apache.org/solr/SolrQuerySyntax](http://wiki.apache.org/solr/SolrQuerySyntax) |
27 |
28 |
29 |
30 | 这些链接是不可以修改的,除非编辑solr.war中的admin.html.
31 |
32 |
33 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.3-logging.md:
--------------------------------------------------------------------------------
1 | # Logging #
2 | Logging页面显示来自Solr日志文件的消息。点击“Logging”将会展示类似下面的界面:
3 |
4 |
5 | *Logging主界面*
6 |
7 | 示例中只显示了一个core的日志信息,如果一个实例中有多个core,每个都会列出来。
8 |
9 | **选择Logging Level**
10 |
11 |
12 |
13 | 点击左侧的Level链接之后,你可以看到以树形结构展示的Solr实例中的class路径和类名。有的行背景是黄色高亮的,说明这个类有logging功能,点击高亮的行,会弹出一个可以修改这个类日志级别的菜单。加粗字体的类是不能修改日志级别的,如root.
14 |
15 | 关于更多日志级别的介绍参见[Configuring Logging]().
16 |
17 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.4-cloud-screens.md:
--------------------------------------------------------------------------------
1 | # Cloud界面 #
2 | 当以SolrCloud模式运行Solr,就会在Admin UI中的Logging和Core Admin之间出现Cloud的链接选项。目前还不支持对SolrCloud机器的node管理,不过你可以到每个每个node上的Admin UI中进行管理。
3 |
4 | 点击左侧菜单中的Cloud选项,会出现一个子菜单,包括Tree、Graph、Graph(Radial)和Dump。默认的Graph界面会展示每个core和每个node的地址,下面的图中展示了有两个node一个core的集群:
5 |
6 |
7 |
8 | Graph(Radial)菜单提供了另外一种查看node的视图,同样的一个core两个node集群看起来是这样的:
9 |
10 |
11 |
12 | Tree选项会展示存储在ZooKeeper中文件的目录结构,包括clusterstate.json、配置文件以及其他状态信息文件。在这个例子中,我们列出了名字是collection1的core的leader定义文件:
13 |
14 |
15 |
16 | 最后一个选项是Dump,可以下载存储在ZooKeeper中的XML配置文件。
17 |
18 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.5-core-admin.md:
--------------------------------------------------------------------------------
1 | # Core Admin #
2 | Core Admin界面可以进行cores的管理,顶部的按钮都可以:增加一个core,卸载一个展示的core,重命名展示的core,用下拉菜单中选择的core替换当前的core,重新加载当前的core,optimize当前的core。
3 |
4 | 界面中提供的管理功能是通过CoreAdminHandler实现的。
5 |
6 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.6-java-properties.md:
--------------------------------------------------------------------------------
1 | # Java参数 #
2 | Java Properties界面提供了更方便查看查看Java参数的界面,这些参数是影响Solr性能关键因素。在界面中你可以看到运行Solr的JVM的所有参数,包括classs路径,文件编码、JVM内存设置、操作系统等。
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.7-thread-dump.md:
--------------------------------------------------------------------------------
1 | # Thread Dump #
2 | Thread Dump界面可以查看当前server中活动的线程,每个线程都会列出来,并可以查看堆栈信息,左侧的图标显示了当前的thread状态,比如绿色对勾的线程代表“RUNNABLE”状态,在线程名右边向下的按钮,表示你可以展开看该线程的堆栈信息。
3 |
4 |
5 |
6 | 当你把鼠标箭头移动一个线程名上,会有浮动窗口显示线程的状态,线程的状态有以下几种:
7 |
8 |
9 | | 状态 | 含义 |
10 |
11 |
12 | NEW | 一个还没启动的线程 |
13 |
14 |
15 | RUNNABLE | JVM中执行中的线程 |
16 |
17 |
18 | BLOCKED | 线程被阻塞,等待monitor lock |
19 |
20 |
21 | WAITING | 一个线程正在等待另一个线程的操作 |
22 |
23 |
24 | TIMED_WAITING | 一个线程正在等待另一个线程的操作,只在限制的时间内等待 |
25 |
26 |
27 | TERMINATED | 一个已经结束的线程 |
28 |
29 |
30 |
31 | 当你点击可以被展开的线程时,你可以看到堆栈信息,如下图所示:
32 |
33 |
34 | *查看单个线程*
35 |
36 | 你可以选中“Show all Stacktraces”按钮来自动查看所有的线程。
37 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.8.0-core-specific-tools.md:
--------------------------------------------------------------------------------
1 | # Core管理工具 #
2 | 在左侧的导航菜单中,有一个提示信息是“Core Selector”的下拉菜单,点击菜单会列出所有的Solr cores,并且可以通过搜索框快速找到指定的core(当你的core很多时会很有用)。
3 |
4 | 当选中一个core,如collection1,会展示一个可以管理这个core的二级菜单。
5 |
6 |
7 |
8 | 当选择一个core之后,页面中间会显示这个core的统计信息。你可以定义一个admin-extra.html的页面来包含其他的链接信息来展示到“Admin Extra”区域中。
9 |
10 | 在左侧core名字的下面的二级菜单是针对当前选中core的功能选项列表。以下是core相关的功能选项:
11 |
12 | - [Analysis](1.4.8.1-analysis-screen.md)-分析指定字段的数据
13 | - [Dataimport](1.4.8.2-dataimport-screen.md)-展示Data Import Handler的当前状态信息
14 | - [Documents](1.4.8.3-documents-screen.md)-你可以通过浏览器中的一个简单的表单来执行各种Solr建索引的命令
15 | - [Files](1.4.8.4-files-screen.md)-显示当前core的配置文件信息如solrconfig.xml和schema.xml
16 | - [Ping](1.4.8.5-ping.md)-通过ping一个core来检查它是否可用
17 | - [Plugins/Stats](1.4.8.6-plugins-and-stats-screen.md)-显示插件和其他已安装模块的统计信息
18 | - [Query](1.4.8.7-query-screen.md)-你可以向一个core提交可以包含多种参数的结构化的查询
19 | - [Replication](1.4.8.8-replication-screen.md)-显示当前replication的状态,也可以启用/禁用replication
20 | - [Schema Browser](1.4.8.9-schema-browser-screen.md)-在浏览器中展示schema数据
21 |
22 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.8.1-analysis-screen.md:
--------------------------------------------------------------------------------
1 | # Analysis界面 #
2 | Analysis分析界面可以分析定义在schema.xml中的不同字段、字段类型以及动态字段规则下数据是如何被处理的。你可以分析在建索引和查询阶段是怎样被处理的,可以分开或一起来看。在这个界面中你可以检查字段类型或者分词器的配置是否正确,让配置更可靠。
3 |
4 | 在顶部的两个文本框或其中一个里输入文本内容,然后选择要分析的字段或字段定义。没有选中“Verbose Output”选项的情况下,页面会显示输入的文本内容在当前的配置下,每一步分析步骤的标准结果信息。
5 |
6 |
7 |
8 | 如果勾选了“Verbose Ouput”,你会看到更多的详细信息,包括输入内容的转换(如转换为小写、去除特殊字符等)、字节数、类型以及位置信息等。根据选择的字段或字段类型不同,数据结果会略有差异。每一步处理都会在单独的区域显示,带有当前步骤处理的分词器或过滤器的缩写。悬停或点击缩写名,可以查看分词器或过滤器的完整名称和路径信息。
9 |
10 |
11 |
12 | 在上图中,字符串“Running is a sport”经过了几次转换处理。我们使用了“text”类型,它会移除“is”和"a",“running”被转换为它的基本类型“run”。这个因为我们定义了字段类型“text_en”,它会移除停用词(在内容中没有具体含的助词),然后会提取主干词(对于处理复数词会很有用)可以匹配到更多查询结果。如果点击“Analyze Fieldname/Field Type”后面的问号图标,schema浏览窗口会打开,显示指定字段的配置信息。
13 |
14 | [Understanding Analyzers, Tokenizers, and Filters]()会详细介绍每一个参数设置会对数据做怎样的处理,[Runing Your Analyzer]()会有介绍使用Analysis界面的具体示例。
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.8.2-dataimport-screen.md:
--------------------------------------------------------------------------------
1 | # Dataimport界面 #
2 | Dataimport界面会显示DataImportHandler(DIH)的配置信息,可以根据界面中选中的配置项和配置文件中定义的配置来开始创建索引。
3 |
4 |
5 |
6 | 配置文件定义了数据的来源以及执行的SQL语句,界面中定义的参数控制数据怎样被导入到Solr中。更多关于DIH数据导入的信息,参见[Uploading Structed Data Store Data with the Data Import Handler]().
7 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.8.3-documents-screen.md:
--------------------------------------------------------------------------------
1 | # Documents界面 #
2 | Documents界面提供了简单的浏览器表单,可以以多种数据格式来执行各种Solr建索引的命令。
3 |
4 |
5 |
6 | 主要支持以下功能:
7 |
8 | - 支持将JSON、CSV和XML格式的文档提交到索引
9 | - 上传文档(支持JSON、CSV、XML格式)
10 | - 通过选择字段和字段类型来组建文档
11 |
12 | 要启动Documents界面功能,需要定义RequestHandler,默认是/update路径,。。。
13 |
14 | 选择要加载的文档类型,下面的参数会根据选择文档类型改变。
15 |
16 | ### JSON ###
17 | 当使用JSON类型时,和在命令行使用requestHandler功能一样,你可以在文本框里输入文档内容,而不用通过curl来提交文档了,文档的格式仍要要求是规范的JSON格式。
18 |
19 | 然后你可以选择什么时间将文档加入到索引中(Commit Within),当文档的id相同时是否覆盖以后的文档(如果设置不是true,则新加入的文档将被丢弃),以及文档是否应用boost.
20 |
21 | 目前该界面只支持新增和覆盖文档,其他的更新命令的使用,参见[#Solr Command]().
22 |
23 | ### CSV ###
24 | 当使用CSV文档格式时,和在命令行使用requestHandler类似,你可以将文档内容通过文本框的方式提交,而不用在命令行使用curl命令。文档的格式仍需要是规范的CSV格式,内容是按列分割的,每行一个文档。然后你可以选择什么时间将文档加入到索引中(Commit Within),当文档的id相同时是否覆盖以后的文档(如果设置不是true,则新加入的文档将被丢弃)。
25 |
26 | ### Document Builder ###
27 | Document Budiler提供了一种向导方式的界面来输入一个文档的字段。
28 |
29 | ### File Upload ###
30 | 文件上传可以将一个已有的文件上传,如果只使用Request-Handler的/update功能,文件的格式只能是XML、CSV和JSON。
31 |
32 | 如果要使用ExtractingRequestHanlder(即Solr Cell),你可以将Request-Hanlder更改为/update/extract,但首先需要确保已经在solrconfig.xml中定义好了。你还需要更新请求参数&literal.id的值,来给提交的文档分配一个唯一的id。
33 |
34 | 然后你可以选择什么时间将文档加入到索引中(Commit Within),当文档的id相同时是否覆盖以后的文档(如果设置不是true,则新加入的文档将被丢弃)。
35 |
36 | ### Solr Command ###
37 | Solr命令参数允许有你使用XML或JSON格式来执行特定的文档操作,如新增、删除、只修改文档的特定字段、commit或者optimize操作。
38 |
39 | ### XML ###
40 | 当使用XML类型,和在命令行使用requestHandler类似,你可以将文档内容通过文本框的方式提交,而不用在命令行使用curl命令。文档的格式仍需要是规范的Solr XML格式,每个文档需要以标签分隔。
41 |
42 | 然后你可以选择什么时间将文档加入到索引中(Commit Within),当文档的id相同时是否覆盖以后的文档(如果设置不是true,则新加入的文档将被丢弃)。
43 |
44 | 目前该界面只支持新增和覆盖文档,其他的更新命令的使用,参见[#Solr Command]().
45 |
46 | ### 相关话题 ###
47 | - [Uploading Data with Index Hanlder]()
48 | - [Uploading Data with Solr Cell using Apache Tika]()
49 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.8.4-files-screen.md:
--------------------------------------------------------------------------------
1 | # File Screen #
2 | File Screen可以查看你选择的core的各种配置文件(如solrconfig.xml和schema.xml).
3 |
4 |
5 |
6 | solrconfig.xml定义了Solr索引文档内容和响应请求的相关参数设置,schema.xml可以定义数据内容的字段类型,你的文档是由哪些字段组成,是否根据提交的文档的字段名称或字段类型来生成动态字段。其他的配置文件也可以被查看,取决于它们是怎样在solrconfig.xml和schema.xml中定义的。
7 |
8 | 配置文件是不能在界面上进行编辑的,你只能在文档编辑器中进行修改。
9 |
10 | 这个界面可以链接到[Schema Browser Screen](),该界面既可以展示schema的信息,也可以下钻到分析链、显示字段类型、字段以及动态字段的规则。
11 |
12 | solrconfig.xml和schema.xml中的参数都会在接下来的内容中介绍,你可能需要回顾下以下内容:
13 |
14 | - [Indexing and Basic Data Operations]()
15 | - [Searching]()
16 | - [The Well-Configured Solr Instance]()
17 | - [Documents, Fields, and Schema Design]()
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.8.5-ping.md:
--------------------------------------------------------------------------------
1 | # Ping #
2 | 通过ping请求一个core可以检查Solr服务是否正常。
3 |
4 | Ping是在solrconfig.xml通过配置一个requestHanlder来实现的:
5 |
6 |
7 |
8 |
9 | solrpingquery
10 |
11 |
12 | all
13 |
14 |
19 |
20 |
21 |
22 | Ping选项不会打开一个页面,但可以在core的概览页面上显示请求的结果。在Ping选项旁边会显示请求耗费了多少毫秒。
23 |
24 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.8.6-plugins-and-stats-screen.md:
--------------------------------------------------------------------------------
1 | # Plugins & Stats Screen #
2 | Plugins界面显示了Solr的状态信息和性能的统计信息,你可以查看Solr的缓存和搜索器的状态,以及searchHandlers以及requestHanlders的配置。
3 |
4 | 点击展开右面列表项,可以看到更多详细的配置信息。下图的示例中我们选择了Core区域的Searcher stats:
5 |
6 |
7 | *Searcher Statistics*
8 |
9 | 展示的内容是界面加载时的一个快照,你可以选择Watch Changes或者Refresh Values来更新状态信息。Wathcing Changes会将改变的区域高亮显示,而Refresh Values会重新加载该界面。
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.8.7-query-screen.md:
--------------------------------------------------------------------------------
1 | # 查询界面 #
2 | Core二级菜单中的Query界面,可以向Solr提交一个query查询并查看结果。下图的示例中展示了查询*:*返回的JSON格式的结果。
3 |
4 |
5 |
6 | 该查询提交到了名叫“collection1”的core,使用的默认查询语句*:*(在solrconfig.xml中定义了默认查询条件),该查询会返回这个core的中索引中的所有文档。后面会详细介绍查询的其他可选参数。
7 |
8 | 返回的查询结果显示在表单的右侧,查询是一个简单的HTTP请求,在查询结果内容的上面显示了请求的URL链接;如果点击则会单独打开一个只包含请求和返回结果的界面。因为在请求参数中有wt=json,所以查询的结果是JSON格式的。
9 |
10 | 查询的结果一般包含两部分responseHead和response,当使用了其他查询参数时返回结果会包含更多部分。其中responseHeader包含查询的状态信息(status)、处理查询的耗时(QTime)和查询参数(params)。
11 |
12 | reponse包括doc标签中的查询结果文档集,查询匹配到的文档数。返回的文档的字段是由查询参数和request handler的默认设置决定的。
13 |
14 | 该界面只提供了常用的查询参数,更多的参数选项可以在浏览器中手工拼URL来设置,以下是可用的参数:
15 |
16 |
17 | 参数 | 描述 |
18 |
19 | Request-handler(qt) |
20 | 指定request handler,Solr默认使用standard query handler处理请求 |
21 |
22 |
23 | q |
24 | 查询,该参数的更多详细解释查看[Searching]() |
25 |
26 |
27 | fq |
28 | 过滤查询,该参数的更多详细解释查看[Common Query Parameters]() |
29 |
30 |
31 | sort |
32 | 将查询结果按照评分或者指定的字段按升序或降序排序 |
33 |
34 |
35 | start,rows |
36 | start和rows共同实现了翻页,start是返回所有查询结果的偏移量,默认是0,从查询结果的第一个文档返回。rows指定返回的文档的数量, |
37 |
38 |
39 | fl |
40 | 定义每个文档返回的字段列表,可以用逗号或空格分隔列出所有希望返回的且已存储的字段。在Solr4中,函数返回的结果也可以在fl中指定 |
41 |
42 |
43 | wt |
44 | 指定查询结果的文档格式,默认是XML。定义了格式化查询结果的Response Writer。 |
45 |
46 |
47 | indent |
48 | 查询结果是否缩进,是否更加可读 |
49 |
50 |
51 | debugQuery |
52 | 使用该参数,查询结果会返回debug信息,每个文档都会包含“explaininfo”,给管理员和开发者提供帮助。 |
53 |
54 |
55 | dismax |
56 | 是否使用Dismax query parser,更多信息参见[The DisMax Query Parser]() |
57 |
58 |
59 | edismax |
60 | 是否使用Extended query parser,更多信息参见[The Extended DisMax Query Parser]() |
61 |
62 |
63 | hl |
64 | 是否启用高亮,更多信息参见[Highlighting]() |
65 |
66 |
67 | facet |
68 | faceting,可以将查询结果按索引的字段进行分类,更多信息参见[Faceting]() |
69 |
70 |
71 | spatial |
72 | 地理位置数据的查询,更多信息参见[Sptial Search]() |
73 |
74 |
75 | spellcheck |
76 | 语法检查器,更多信息参见[Spell Checking]() |
77 |
78 |
79 | #### 相关内容 ####
80 |
81 | - [Searching]()
82 |
83 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.8.8-replication-screen.md:
--------------------------------------------------------------------------------
1 | # Replication界面 #
2 | 该界面展示当前选择的core的索引复制状态,在Solr中repliaction只是对索引文件的复制。SolrCloud提供了更高级的替代功能。
3 |
4 |
5 |
6 | 上图的例子中,replication被启用了,在每次commit之后进行复制。因为该服务器是Master,因此仅展示了master的配置信息,在master你可以通过点击“Disable Replcation”按钮来禁用replication功能。
7 |
8 | 在Solr中,replication是由slave server发起的,因此slave节点上可以看到更多信息,如下图所示:
9 |
10 |
11 |
12 | 可以点击“Refresh Status”按钮来显示当前的replication状态,点击“Relication now”来从master同步一个最新的索引快照。
13 |
14 | 更多关于如何配置relication的信息参见[Index Replicaion]().
15 |
16 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/4.8.9-schema-browser-screen.md:
--------------------------------------------------------------------------------
1 | # Schema浏览界面 #
2 | Schema浏览界面可以在浏览器中查看schema的配置信息,如果是从Analysis界面链接过来的,会展示指定的字段、动态字段规则或者字段类型。也可以通过下拉菜单来选择字段或字段类型。
3 |
4 |
5 |
6 | 该界面提供了每个字段的更多详细信息。在上图的示例中,我们选择的text字段,右边我们可以看到字段名字,copy到text字段的字段列表。选中这些字段,可以查看该字段的详细定义。可以查看该字段建索引和查询使用的分析器,点击展开可以看到定义的分词器和过滤器。
7 |
8 | 下面的“Load Term Info”按钮,可以展示索引中这个字段的前N个term值。如果每个字段都想查看term信息,可以选择“Autoload”,这样选择每个字段时都会展示该字段的term信息。histogram展示了该term在这个字段中出现的频率值。
9 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.0-documents-fields-schema-design.md:
--------------------------------------------------------------------------------
1 | # 文档、字段和schema设计 #
2 | 本章介绍Solr是如何通过文档和字段来组织数据的,以及如何使用schema.xml文件,包含以下主题:
3 |
4 | - [文档、字段和schema设计概述](1.5.1-overview-of-documents-fields-schema-design.md):解释本章中涉及的概念。
5 | - [Solr字段类型](1.5.2.0-solr-field-types.md):详细介绍Solr中的字段类型,包括schema中默认的字段类型。
6 | - [定义字段](1.5.3-defining-fields.md):介绍如何在Solr中定义字段。
7 | - [拷贝字段](1.5.4-copying-fields.md):介绍怎样将其他字段的值拷贝到一个字段中。
8 | - [动态字段](1.5.5-dynamic-fields.md):介绍动态字段的使用,不用在schema文件中明确定义该类字段。
9 | - [Schema API](1.5.6-schema-api.md):使用curl命令来查看schema信息,或者创建新字段或拷贝字段。
10 | - [其他Schema属性](1.5.7-other-schema-elements.md):介绍其他shcema中的属性:主键(Unique Key),默认搜索字段(Default Search Field)以及Query Parser Operator.
11 | - [综合配置](1.5.8-putting-the-pieces-together.md):从整体来看schema及各个属性的配置。
12 | - [DocValues](1.5.9-docvalues.md):如何创建docValues索引来快速查找。
13 | - [Schemaless Mode](1.5.10-schemaless-mode.md):根据基于类型前缀命名的方式来动态创建对应类型字段。
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.1-overview-of-documents-fields-schema-design.md:
--------------------------------------------------------------------------------
1 | # 文档、字段和schema设计概述 #
2 | Solr的基础原理是简单的,你将一些数据信息提交给它,然后向它提出问题,找到你想要找到的信息。你将信息提交给Solr的过程称之为建索引(indexing)或数据更新(updating).当你提交问题,称之为查询(query).
3 |
4 | 如果把Solr活页的菜谱书,每次你向书中添加一个菜谱,把你添加的菜谱的原材料和书页码更新到目录索引中。假设你已经添加了一百个菜谱,通过目录索引你可以很快的查找到所有使用了garbanzo beans或咖啡做原材料的菜谱。使用目录比一页一页的查找快多了,如果食谱有上千甚至上百万个,目录索引就显得很有必要了。
5 |
6 | Solr可以建立包含多个不同类型字段的索引,比如上面的菜谱书,还可以把菜的做法添加到索引里,比如亚洲、cajun等,或者需要准备的时间。Solr可以实现类似这样的问题:“那种菜谱是cajun的,并且使用了橘子作为材料,准备时间在30分钟以内?”
7 |
8 | Schema是定义Solr如何将输入的文档建立索引的。
9 |
10 | ### Solr是怎样理解这个世界的 ###
11 | Solr的基本单元是文档(document),文档是描述信息的一组数据。一个食谱文档可能会包含原材料、操作教程、准备的时间、制作的实际那、需要的工具等等。描述一个人的文档可能包含名字、个人简介、喜欢的颜色、鞋子的大小。描述一本书的文档可能包含书名、作者、出版时间、页数等。
12 |
13 | 在Solr看来,文档是由字段(field)组成的,代表更具体的某类信息。鞋码可以是一个字段,姓和名都可以是一个字段。
14 |
15 | 字段可以包含各种类型的数据,比如一个名字字段是文本类型的,鞋码应该是浮点型的,这样就可以是6或9.5的。很显然字段的定义是很灵活的,你也可以将鞋码定义成文本类型,只有当你正确的定义了字段,Solr才能正确的翻译这些内容,你的用户才能获得更好的查询结果。
16 |
17 | 在Solr中通过定义字段的类型来表示该字段是什么类型的数据,如何翻译这个字段,以及如何处理对这个字段的查询。
18 |
19 | 当你向Solr中添加一个文档,Solr会将文档解析成哥哥字段然后添加到索引中,当发起查询时,Solr会快速的查找索引并返回匹配的文档结果。
20 |
21 | ### 字段解析 ###
22 | 字段解析(Field analysis)是告诉Solr对提交的数据如何建立索引,一个更确切的描述这一过程的词可以是processing或digestion,但官方的名称是analysis.
23 |
24 | 比如一个描述人的文档中的个人简介的字段,这个字段的每个文字都需要建立索引,这样你才能快速找到哪个人和数学或计算机有关。
25 |
26 | 然而个人简介可能包含很多文字,像“的”、“吗”、“啊”这类词可能并不需要关注。另外英文中经常有首字母大写的单词,比如包含“Ketchup”,而用户需要查询“ketchup”,你当然需要Solr也能查找到包含大写字母的文档。
27 |
28 | 上面提到的这些都是字段解析。对于个人简介字段,你需要告诉Solr如何将文本内容进行分词,比如需要告诉Solr将所有词处理成小写,并移除停用词。
29 |
30 | 字段解析是字段类型的很重要的部分,更多内容参见[Understanding Analyzers, Tokenizers, and Filters]().
31 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.10-schemaless-mode.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/5.10-schemaless-mode.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.2.0-solr-field-types.md:
--------------------------------------------------------------------------------
1 | # Solr字段类型 #
2 | 字段类型定义了Solr怎样解析字段的数据以及怎样处理字段的查询。Solr默认提供了很多字段类型,也可以自定义类型。
3 | 本节包含以下内容:
4 |
5 | - 字段类型定义及属性
6 | - Solr自带的字段类型
7 | - 货币和汇率类型
8 | - 日期类型
9 | - 枚举类型
10 | - 外部文件
11 | - 字段属性示例
12 |
13 | #### 相关话题 ####
14 | - [SchemaXML-DataTypes](http://wiki.apache.org/solr/SchemaXml#Data_Types)
15 | - [FieldType Javadoc](http://lucene.apache.org/solr/4_10_0/solr-core/org/apache/solr/schema/FieldType.html)
16 |
17 | ### 字段类型定义及属性 ###
18 | 字段类型的定义包含以下四点:
19 |
20 | - 字段类型的名称(必须有)
21 | - 实现类名(必须有)
22 | - 如果字段类型是TextField,需要包含该字段类型的分词器
23 | - 字段类型属性-取决于实现类,某些属性是你必须的
24 |
25 | **Schema.xml中定义字段类型**
26 | 字段类型是在schema.xml中的types标签中定义的。每个字段类型定义在fieldType标签中,以下是text_general类型的定义:
27 |
28 |
29 |
30 |
31 |
33 |
37 |
38 |
39 |
40 |
41 |
43 |
45 |
46 |
47 |
48 |
49 | 示例中的第一行包含类型的名称“text_general”和实现类名“solr.TextField”。其他部分是对字段解析的定义,参见[Understanding Analyzers, Tokenizers, and Filters]().
50 |
51 | 实现类来保证字段会被正确的处理,schema.xml中类名,solr是org.apapche.solr.schema或者org.apache.solr.analysis的缩写。因此,solr.TextField实际是org.apache.solr.schema.TextField类。
52 |
53 | **字段类型属性**
54 | 实现类定义了该类型的大部分实现行为,另外可以定义可选属性。如以下示例中定义了另外两个属性sortMissingLast和omitNorms:
55 |
56 |
58 |
59 | 字段类型的属性主要包含以下三类:
60 |
61 | - 类型实现类的属性
62 | - [General Properties]()Solr每种字段类型都支持的通用属性
63 | - [Field Default Properties]()可以覆盖字段的默认属性
64 |
65 | *General Properties*
66 |
67 |
68 |
69 | Property | Description | Values |
70 |
71 |
72 | name | 字段类型的名称,建议名称仅包含字母数字和下划线,不以数字开头,虽然目前并没有严格限制 | |
73 |
74 |
75 | class | 该类型用于存储和索引字段数据的类名,可以使用“solr.”来简写类名,如果使用第三方类则需要写全类名。“solr.TextField”的完整类名是“org.apache.solr.schema.TextField”. | |
76 |
77 |
78 | positionIncrementGap | 用于多值类型的字段,指定各值之间的距离,防止出现假词组匹配出现 | integer |
79 |
80 |
81 | autoGeneratePhraseQueries | 用于文本类型字段,如果为true,Solr自动将临近的词作为词组查询,如果为false,则词组必须用双引号引起来才被认为是词组 | true/false |
82 |
83 |
84 | docValuesFormat | 自定义DocValuesFormat,需要在solrconfig.xml中定义SchemaCodecFactory | |
85 |
86 |
87 | postingsFormat | 自定义PostingFormat,需要在solrconfig.xml中定义SchemaCodecFactory | |
88 |
89 |
90 |
91 |
92 |
93 | Lucene索引向后兼容只支持默认的codec。如果你使用schema.xml中自定义的postingFormat和docValuesFormat,当升级Solr版本时,你需要在升级前改为使用默认的codec并且optimize索引文件来使之生效,或者在升级后完全重建索引。
94 | |
95 |
96 |
97 | *Field Default Properties*
98 |
99 |
100 | Property | Description | Values |
101 |
102 |
103 | indexed | 如果为true,字段的值可以用于查询 | true/false |
104 |
105 |
106 | stored | 如果为true,字段的值可以在查询结果中返回 | true/false |
107 |
108 |
109 | docValues | 如果为true,字段的值会被放到一个基于列的[DocValues]()结构中 | true/false |
110 |
111 |
112 | sortMissingFirst sortMissingLast | 当没有指定排序字段时,文档的排序方式。在Solr3.5以后,只对数值类型、Trie和日期类型有效 | true/false |
113 |
114 |
115 | multiValued | 如果为true,表示该类型的字段在一个文档中可以包含多个值 | true/false |
116 |
117 |
118 | omitNorms | 如果为true,会忽略该字段的norm计算(禁用基于文档长度的计算和该字段索引时的评分计算,节省内存)。默认对所有原始类型(非分词的字段类型)为true,如int, float, data, bool, string.只有全文本字段或者需要在建索引时计算评分时才需要norms | true/false |
119 |
120 |
121 | omitTermFreqAndPositions | 如果为true,忽略词频、位置信息,禁用会对性能有一定提升,而且会减少索引的存储空间。当基于位置的查询应用到该属性为true的字段时会查不到文档。该属性对非文本类型字段默认为true。 | true/false |
122 |
123 |
124 | omitPositions | 和omitTermFreqAndPositions类似,但保留了词频信息 | true/false |
125 |
126 |
127 | termVectors termPositions termOffsets | 这些选项决定Solr是否保存每个文档的词向量(term vector),可以选择性的包含位置信息、每个词在向量中的偏移距离。可以加快高亮和其他辅助功能的执行速度,但会比较大的影响索引文件的大小。一般情况下这些信息并不是必要的。 | true/false |
128 |
129 |
130 | required | 表明该字段是必须字段,如果提交的文档中该类型字段缺少,则Solr会拒绝添加文档。该属性默认是false | true/false |
131 |
132 |
133 |
134 | ### Solr自带的字段类型 ###
135 | 下面的列表中是Solr自带字段类型,在org.apache.solr.schema包里都可以找到对应的类。
136 |
137 |
138 |
139 | 类名 | 描述 |
140 |
141 |
142 | BCDIntField | 二进制编码的整数(Binary-coded decimal integer).BCD在数值计算和转换成String时速度更快。该类型已经弃用,将会在Solr5.0版本中移除,可以使用TrieIntField。 |
143 |
144 |
145 | BCDLongField | 二进制编码的长整型,该类型已经弃用,将会在Solr5.0版本中移除,可以使用TrieLongField. |
146 |
147 |
148 | BCDStrField | 二进制编码的字符串,该类型已经弃用,将会在Solr5.0版本中移除,可以使用TrieIntField. |
149 |
150 |
151 | BinaryField | 存储二进制数据 |
152 |
153 |
154 | BoolField | 保存true或false。以“1”、“t”或“T”开头的值都被转换为true,其他值则为false |
155 |
156 |
157 | ByteField | 保存一个字节(8比特有符号整型)。该类型已经弃用,将会在Solr5.0版本中移除,可以使用TrieIntField. |
158 |
159 |
160 | CollationField | 支持基于Unicode的排序规则和范围查询。如果你可以使用ICU4J,ICUCollationField会是一个更好的选择。更多详细信息参见[Unicode Collation]() |
161 |
162 |
163 | CurrencyField | 支持货币和汇率。参见[Working with Currencies and Exchange Rates]() |
164 |
165 |
166 | DateField | 精确到毫秒的时间类型。参见[Working with Dates]().该类型已经弃用,将会在Solr5.0版本中移除,可以使用TrieDateField. |
167 |
168 |
169 | DoubleField | Double类型(64位IEEE浮点型)。该类型已经弃用,将会在Solr5.0版本中移除,可以使用TrieDoubleField. |
170 |
171 |
172 | ExternalFileField | 从磁盘上的文件中获取值。参见[Working with External Files and Processes]() |
173 |
174 |
175 | EnumField | 可以定义一组枚举值,但枚举值按字母顺序或数值顺序排序往往不合理,(例如枚举值是损伤程度).该类型会附带一个配置文件,列出枚举值的顺序。参见[Working with Enum Fields]() |
176 |
177 |
178 | FloatField | 浮点型(32位IEEE浮点型)。该类型已经弃用,将会在Solr5.0版本中移除,可以使用TrieFloadField. |
179 |
180 |
181 | ICUCollationField | 支持基于Unicode的排序规则和范围查询。更多详细信息参见[Unicode Collation]() |
182 |
183 |
184 | IntField | 整型(32位有符号整型)。该类型已经弃用,将会在Solr5.0版本中移除,可以使用TrieIntField. |
185 |
186 |
187 | LatLonType | 地理位置搜索:一组经度和维度值(latitude/longitude),该类型是维度值(latitude)。 |
188 |
189 |
190 | LongField | 长整型(64位有符号整型)。该类型已经弃用,将会在Solr5.0版本中移除,可以使用TrieLongField. |
191 |
192 |
193 | PointType | 地理位置搜索:任意n维的点。可以用来搜索蓝图或CAD图。 |
194 |
195 |
196 | PreAnalyzedField | ? |
197 |
198 |
199 | RandomSortField | 该类型字段并不包含值,以该类型字段排序的查询会以随机形式排序。通过动态字段来使用这个特性。 |
200 |
201 |
202 | ShortField | 短整型(short)。该类型已经弃用,将会在Solr5.0版本中移除,可以使用TrieIntField. |
203 |
204 |
205 | SortableDoubleField | 提供正确的按数值排序。该类型已经弃用,将会在Solr5.0版本中移除,可以使用TrieDoubleField. |
206 |
207 |
208 | SortableFloatField | 提供正确的按浮点值排序。该类型已经弃用,将会在Solr5.0版本中移除,可以使用TrieFloadField. |
209 |
210 |
211 | SortableIntField | 提供正确的按数值排序。该类型已经弃用,将会在Solr5.0版本中移除,可以使用TrieIntField. |
212 |
213 |
214 | SortableLongField | 提供正确的按数值排序。该类型已经弃用,将会在Solr5.0版本中移除,可以使用TrieLongField. |
215 |
216 |
217 | SpatialRecursivePrefixTreeFieldType | 地理位置搜索:接受“维度,经度”格式的字符串或其他熟知类型的值。简称RPT。 |
218 |
219 |
220 | StrField | String类型(UTF-8编码的字符串或Unicode) |
221 |
222 |
223 | TextField | 文本类型,一般包含多个单词 |
224 |
225 |
226 | TrieDateField | 日期类型,表示精确到毫秒的时间。参见[Working with Dates]()。precisionStep="0"可以让日期排序更快索引文件更小;默认precisionStep="8"可以有更好的范围查询效率。 |
227 |
228 |
229 | TrieDoubleField | Double类型(64位IEEE浮点型)。precisionStep="0"可以让日期排序更快索引文件更小;默认precisionStep="8"可以有更好的范围查询效率。 |
230 |
231 |
232 | TrieField | 如果使用该类型,需要包含type属性,合法的属性值有integer、long、float、double、date。这种方式和使用对应类型的Trie字段一样。precisionStep="0"可以让日期排序更快索引文件更小;默认precisionStep="8"可以有更好的范围查询效率。 |
233 |
234 |
235 | TrieFloatField | 浮点型(32位IEEE浮点型)。precisionStep="0"可以让日期排序更快索引文件更小;默认precisionStep="8"可以有更好的范围查询效率。 |
236 |
237 |
238 | TrieIntField | 整型(32位有符号整型)。precisionStep="0"可以让日期排序更快索引文件更小;默认precisionStep="8"可以有更好的范围查询效率。 |
239 |
240 |
241 | TrieLongField | 长整形(64位有符号整型)。precisionStep="0"可以让日期排序更快索引文件更小;默认precisionStep="8"可以有更好的范围查询效率。 |
242 |
243 |
244 | UUIDField | Universally Unique Identifier (UUID).当传入值“NEW”时,Solr会创建一个新的UUID。注意:不建议在使用SolrCloud时创建一个默认值是“NEW”的UUIDField类型的实例,而且UUID不能是unique字段,因为每一份文档的复制都会创建一个UUID值。建议在添加文档的时候使用UUIDUpdateProcessorFactory来生成UUID值。 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.2.1-field-type-definitions-and-properties.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/5.2.1-field-type-definitions-and-properties.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.2.2-field-types-included-with-solr.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/5.2.2-field-types-included-with-solr.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.2.3-working-with-currencies-and-exchange-rates.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/5.2.3-working-with-currencies-and-exchange-rates.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.2.4-working-with-dates.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/5.2.4-working-with-dates.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.2.5-working-with-enum-fields.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/5.2.5-working-with-enum-fields.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.2.6-working-with-external-files-and-processes.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/5.2.6-working-with-external-files-and-processes.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.2.7-field-properties-by-use-case.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/5.2.7-field-properties-by-use-case.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.3-defining-fields.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/5.3-defining-fields.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.4-copying-fields.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/5.4-copying-fields.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.5-dynamic-fields.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/5.5-dynamic-fields.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.6-schema-api.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/5.6-schema-api.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.7-other-schema-elements.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/5.7-other-schema-elements.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.8-putting-the-pieces-together.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/5.8-putting-the-pieces-together.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/5.9-docvalues.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/5.9-docvalues.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/6.0-understanding-analyzers-tokenizers-and-filters.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/6.0-understanding-analyzers-tokenizers-and-filters.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/7.0-indexing-and-basic-data-operations.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/7.0-indexing-and-basic-data-operations.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/8.0-searching.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/8.0-searching.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/9.0-the-well-configured-solr-instance.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/9.0-the-well-configured-solr-instance.md
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.2.2-solr-admin-console.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.2.2-solr-admin-console.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.2.2-solr34_responseHeader.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.2.2-solr34_responseHeader.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.2.3-LucidWorks_diagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.2.3-LucidWorks_diagram.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.2.3-distributed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.2.3-distributed.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.2.3-replication.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.2.3-replication.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.2.3-sharding.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.2.3-sharding.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.1-dashboard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.1-dashboard.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.2-Assistance.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.2-Assistance.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.3-logging.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.3-logging.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.3.0-level_menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.3.0-level_menu.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.4-cloud-graph.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.4-cloud-graph.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.4-cloud-radial.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.4-cloud-radial.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.4-cloud-tree.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.4-cloud-tree.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.5-coreadmin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.5-coreadmin.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.6-javaproperties.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.6-javaproperties.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.7-thread_dump_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.7-thread_dump_1.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.7-thread_dump_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.7-thread_dump_2.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.8.0-collection_dashboard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.8.0-collection_dashboard.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.8.1-analysis_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.8.1-analysis_normal.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.8.1-analysis_verbose.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.8.1-analysis_verbose.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.8.2-dataimport.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.8.2-dataimport.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.8.3-documents_add_screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.8.3-documents_add_screen.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.8.4-files-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.8.4-files-screen.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.8.6-plugin-searcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.8.6-plugin-searcher.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.8.7-query-top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.8.7-query-top.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.8.8-replication-master.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.8.8-replication-master.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.8.8-replication-slave.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.8.8-replication-slave.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/1.4.8.9-schema_browser_terms.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/1.4.8.9-schema_browser_terms.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/icon-hint.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/icon-hint.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/icon-problem.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/icon-problem.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/icon-success.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/icon-success.png
--------------------------------------------------------------------------------
/solr-ref-guide-zh/images/icon-warning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yintaoxue/solr-ref-guide-zh/9268383a218a612e2c569f67483a3ec6c3a82ba5/solr-ref-guide-zh/images/icon-warning.png
--------------------------------------------------------------------------------