Apache Lucene open-source search software
SOLR-14429: Convert .txt files to properly formatted .md files (#1450)
Tomoko Uchidaf03e6aac59cb
diff --git a/gradle/validation/rat-sources.gradle b/gradle/validation/rat-sources.gradleindex 5c77123c3d0..3298b956d82 100644--- a/gradle/validation/rat-sources.gradle+++ b/gradle/validation/rat-sources.gradle@@ -130,6 +130,7 @@ class RatTask extends DefaultTask {List<String> srcExcludes = ["**/TODO","**/*.txt",+ "**/*.md","**/*.iml","build/**"]diff --git a/lucene/tools/src/groovy/check-source-patterns.groovy b/lucene/tools/src/groovy/check-source-patterns.groovyindex 46885845b87..774023d3485 100644--- a/lucene/tools/src/groovy/check-source-patterns.groovy+++ b/lucene/tools/src/groovy/check-source-patterns.groovy@@ -147,10 +147,12 @@ ant.fileScanner{include(name: 'dev-tools/**/*.' + it)include(name: '*.' + it)}- // TODO: For now we don't scan txt files, so we+ // TODO: For now we don't scan txt / md files, so we// check licenses in top-level folders separately:include(name: '*.txt')include(name: '*/*.txt')+ include(name: '*.md')+ include(name: '*/*.md')// excludes:exclude(name: '**/build/**')exclude(name: '**/dist/**')diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 38a1e22f67e..94d63eb211c 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -62,6 +62,8 @@ Other Changes* SOLR-14420: AuthenticationPlugin.authenticate accepts HttpServletRequest instead of ServletRequest. (Mike Drob)+* SOLR-14429: Convert .txt files to properly formatted .md files. (Tomoko Uchida, Uwe Schindler)+================== 8.6.0 ==================Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.diff --git a/solr/README.txt b/solr/README.mdsimilarity index 80%rename from solr/README.txtrename to solr/README.mdindex 80d26d578a8..66e2fff2b03 100644--- a/solr/README.txt+++ b/solr/README.md@@ -1,18 +1,19 @@-# 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.-+<!--+ 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.+-->Welcome to the Apache Solr project!-----------------------------------@@ -22,7 +23,7 @@ from the Apache Lucene project.For a complete description of the Solr project, team composition, sourcecode repositories, and other details, please see the Solr web site at-http://lucene.apache.org/solr+https://lucene.apache.org/solrGetting Started@@ -30,37 +31,51 @@ Getting StartedTo start Solr for the first time after installation, simply do:+```bin/solr start+```This will launch a standalone Solr server in the background of your shell,listening on port 8983. Alternatively, you can launch Solr in "cloud" mode,which allows you to scale out using sharding and replication. To launch Solrin cloud mode, do:+```bin/solr start -cloud+```To see all available options for starting Solr, please do:+```bin/solr start -help+```After starting Solr, create either a core or collection depending on whetherSolr is running in standalone (core) or SolrCloud mode (collection) by doing:+```bin/solr create -c <name>+```This will create a collection that uses a data-driven schema which tries to guessthe correct field type when you add documents to the index. To see all availableoptions for creating a new collection, execute:+```bin/solr create -help+```After starting Solr, direct your Web browser to the Solr Admin Console at:+```http://localhost:8983/solr/+```When finished with your Solr installation, shut it down by executing:+```bin/solr stop -all+```The `-p PORT` option can also be used to identify the Solr instance to shutdown,where more than one Solr is running on the machine.@@ -71,43 +86,55 @@ Solr ExamplesSolr includes a few examples to help you get started. To run a specific example, do:+```bin/solr -e <EXAMPLE> where <EXAMPLE> is one of:cloud : SolrCloud exampledih : Data Import Handler (rdbms, mail, atom, tika)schemaless : Schema-less example (schema is inferred from data during indexing)techproducts : Kitchen sink example providing comprehensive examples of Solr features+```For instance, if you want to run the Solr Data Import Handler example, do:+```bin/solr -e dih-+```Indexing Documents---------------To add documents to the index, use bin/post. For example:+```bin/post -c <collection_name> example/exampledocs/*.xml+```For more information about Solr examples please read...- * example/README.txt- For more information about the "Solr Home" and Solr specific configuration+ * [example/README.md](example/README.md)++For more information about the "Solr Home" and Solr specific configuration+* https://lucene.apache.org/solr/guide/solr-tutorial.html- For a Solr tutorial- * http://lucene.apache.org/solr/resources.html- For a list of other tutorials and introductory articles.++For a Solr tutorial++ * https://lucene.apache.org/solr/resources.html++For a list of other tutorials and introductory articles.or linked from "docs/index.html" in a binary distribution.Also, there are Solr clients for many programming languages, see- http://wiki.apache.org/solr/IntegratingSolr++ * https://wiki.apache.org/solr/IntegratingSolrFiles included in an Apache Solr binary distribution----------------------------------------------------+```server/A self-contained Solr instance, complete with a sampleconfiguration and documents to index. Please see: bin/solr start -help@@ -116,7 +143,7 @@ server/example/Contains example documents and an alternative Solr homedirectory containing examples of how to use the Data Import Handler,- see example/example-DIH/README.txt for more information.+ see example/example-DIH/README.md for more information.dist/solr-<component>-XX.jarThe Apache Solr libraries. To compile Apache Solr Plugins,@@ -126,7 +153,7 @@ dist/solr-<component>-XX.jardocs/index.htmlA link to the online version of Apache Solr Javadoc API documentation and Tutorial-+```Instructions for Building Apache Solr from Source-------------------------------------------------@@ -151,14 +178,14 @@ Instructions for Building Apache Solr from SourceAlternately, you can obtain a copy of the latest Apache Solr source codedirectly from the GIT repository:- http://lucene.apache.org/solr/versioncontrol.html+ https://lucene.apache.org/solr/versioncontrol.html4. Navigate to the "solr" folder and issue an "ant" command to see the available optionsfor building, testing, and packaging Solr.NOTE:To see Solr in action, you may want to use the "ant server" command to build- and package Solr into the server directory. See also server/README.txt.+ and package Solr into the server directory. See also server/README.md.Export control@@ -184,6 +211,7 @@ code and source code.The following provides more details on the included cryptographicsoftware:- Apache Solr uses the Apache Tika which uses the Bouncy Castle generic encryption libraries for- extracting text content and metadata from encrypted PDF files.- See http://www.bouncycastle.org/ for more details on Bouncy Castle.++Apache Solr uses the Apache Tika which uses the Bouncy Castle generic encryption libraries for+extracting text content and metadata from encrypted PDF files.+See http://www.bouncycastle.org/ for more details on Bouncy Castle.diff --git a/solr/build.xml b/solr/build.xmlindex 74fbe60f237..b0ff51149ed 100644--- a/solr/build.xml+++ b/solr/build.xml@@ -57,7 +57,7 @@<attribute name="Main-Class" value="org.apache.solr.util.SimplePostTool"/></manifest></jar>- <echo>See ${common-solr.dir}/README.txt for how to run the Solr server.</echo>+ <echo>See ${common-solr.dir}/README.md for how to run the Solr server.</echo></target><target name="run-example" depends="server"@@ -207,8 +207,8 @@</xslt><markdown todir="${javadoc.dir}">- <fileset dir="site" includes="**/*.mdtext"/>- <globmapper from="*.mdtext" to="*.html"/>+ <fileset dir="site" includes="**/*.md"/>+ <globmapper from="*.md" to="*.html"/></markdown><copy todir="${javadoc.dir}">@@ -530,8 +530,8 @@fullpath="${fullnamever}/LUCENE_CHANGES.txt" /><tarfileset dir="."prefix="${fullnamever}"- includes="LICENSE.txt NOTICE.txt CHANGES.txt README.txt SYSTEM_REQUIREMENTS.txt- bin/** server/** example/** contrib/**/lib/** contrib/**/conf/** contrib/**/README.txt+ includes="LICENSE.txt NOTICE.txt CHANGES.txt README.md site/SYSTEM_REQUIREMENTS.md+ bin/** server/** example/** contrib/**/lib/** contrib/**/conf/** contrib/**/README.mdlicenses/**"excludes="licenses/README.committers.txt **/data/ **/logs/***/classes/ **/*.sh **/ivy.xml **/build.xmldiff --git a/solr/contrib/analysis-extras/README.md b/solr/contrib/analysis-extras/README.mdnew file mode 100644index 00000000000..29f42191121--- /dev/null+++ b/solr/contrib/analysis-extras/README.md@@ -0,0 +1,26 @@+Apache Solr - Analysis Extras+=============================++The analysis-extras plugin provides additional analyzers that rely+upon large dependencies/dictionaries.++It includes integration with ICU for multilingual support,+analyzers for Chinese and Polish, and integration with+OpenNLP for multilingual tokenization, part-of-speech tagging+lemmatization, phrase chunking, and named-entity recognition.++Each of the jars below relies upon including `/dist/solr-analysis-extras-X.Y.jar`+in the `solrconfig.xml`++* ICU relies upon `lucene-libs/lucene-analyzers-icu-X.Y.jar`+and `lib/icu4j-X.Y.jar`++* Smartcn relies upon `lucene-libs/lucene-analyzers-smartcn-X.Y.jar`++* Stempel relies on `lucene-libs/lucene-analyzers-stempel-X.Y.jar`++* Morfologik relies on `lucene-libs/lucene-analyzers-morfologik-X.Y.jar`+and `lib/morfologik-*.jar`++* OpenNLP relies on `lucene-libs/lucene-analyzers-opennlp-X.Y.jar`+and `lib/opennlp-*.jar`diff --git a/solr/contrib/analysis-extras/README.txt b/solr/contrib/analysis-extras/README.txtdeleted file mode 100644index 236195efe14..00000000000--- a/solr/contrib/analysis-extras/README.txt+++ /dev/null@@ -1,23 +0,0 @@-The analysis-extras plugin provides additional analyzers that rely-upon large dependencies/dictionaries.--It includes integration with ICU for multilingual support,-analyzers for Chinese and Polish, and integration with-OpenNLP for multilingual tokenization, part-of-speech tagging-lemmatization, phrase chunking, and named-entity recognition.--Each of the jars below relies upon including /dist/solr-analysis-extras-X.Y.jar-in the solrconfig.xml--ICU relies upon lucene-libs/lucene-analyzers-icu-X.Y.jar-and lib/icu4j-X.Y.jar--Smartcn relies upon lucene-libs/lucene-analyzers-smartcn-X.Y.jar--Stempel relies on lucene-libs/lucene-analyzers-stempel-X.Y.jar--Morfologik relies on lucene-libs/lucene-analyzers-morfologik-X.Y.jar-and lib/morfologik-*.jar--OpenNLP relies on lucene-libs/lucene-analyzers-opennlp-X.Y.jar-and lib/opennlp-*.jardiff --git a/solr/contrib/clustering/README.txt b/solr/contrib/clustering/README.mdsimilarity index 100%rename from solr/contrib/clustering/README.txtrename to solr/contrib/clustering/README.mddiff --git a/solr/contrib/dataimporthandler/README.txt b/solr/contrib/dataimporthandler/README.mdsimilarity index 90%rename from solr/contrib/dataimporthandler/README.txtrename to solr/contrib/dataimporthandler/README.mdindex c9698725abf..fa2cab197a3 100644--- a/solr/contrib/dataimporthandler/README.txt+++ b/solr/contrib/dataimporthandler/README.md@@ -1,4 +1,5 @@- Apache Solr - DataImportHandler+Apache Solr - DataImportHandler+================================Introduction------------diff --git a/solr/contrib/extraction/README.txt b/solr/contrib/extraction/README.mdsimilarity index 93%rename from solr/contrib/extraction/README.txtrename to solr/contrib/extraction/README.mdindex b2ba66d50f9..f3fdb5c7fb5 100644--- a/solr/contrib/extraction/README.txt+++ b/solr/contrib/extraction/README.md@@ -1,4 +1,5 @@Apache Solr Content Extraction Library (Solr Cell)+==================================================Introduction------------diff --git a/solr/contrib/jaegertracer-configurator/README.txt b/solr/contrib/jaegertracer-configurator/README.mdsimilarity index 99%rename from solr/contrib/jaegertracer-configurator/README.txtrename to solr/contrib/jaegertracer-configurator/README.mdindex 36e6b4370e0..998b65f4567 100644--- a/solr/contrib/jaegertracer-configurator/README.txt+++ b/solr/contrib/jaegertracer-configurator/README.md@@ -18,6 +18,7 @@ Note that all library of solr-jaegertracer must be included in the classpath of```List of parameters for JaegerTracerConfigurator include:+|Parameter|Type|Required|Default|Description||---------|----|--------|-------|-----------||agentHost|string|Yes||The host of Jaeger backend|diff --git a/solr/contrib/langid/README.txt b/solr/contrib/langid/README.mdsimilarity index 96%rename from solr/contrib/langid/README.txtrename to solr/contrib/langid/README.mdindex 68a2ea58c39..09c1ff7f7d8 100644--- a/solr/contrib/langid/README.txt+++ b/solr/contrib/langid/README.md@@ -1,5 +1,5 @@Apache Solr Language Identifier-+===============================Introduction------------diff --git a/solr/contrib/ltr/README.md b/solr/contrib/ltr/README.mdindex 6324ecfb35b..e1fe1f483fe 100644--- a/solr/contrib/ltr/README.md+++ b/solr/contrib/ltr/README.md@@ -13,7 +13,7 @@ For information on how to get started with solr ltr please see:# Getting Started With SolrFor information on how to get started with solr please see:- * [solr/README.txt](../../README.txt)+ * [solr/README.md](../../README.md)* [Solr Tutorial](https://lucene.apache.org/solr/guide/solr-tutorial.html)# How To Contributediff --git a/solr/contrib/ltr/README.txt b/solr/contrib/ltr/README.txtdeleted file mode 120000index 42061c01a1c..00000000000--- a/solr/contrib/ltr/README.txt+++ /dev/null@@ -1 +0,0 @@-README.md\ No newline at end of filediff --git a/solr/contrib/prometheus-exporter/README.txt b/solr/contrib/prometheus-exporter/README.mdsimilarity index 95%rename from solr/contrib/prometheus-exporter/README.txtrename to solr/contrib/prometheus-exporter/README.mdindex 888f237b815..a574fa999aa 100644--- a/solr/contrib/prometheus-exporter/README.txt+++ b/solr/contrib/prometheus-exporter/README.md@@ -11,7 +11,7 @@ For information on how to get started with solr-exporter please see:# Getting Started With SolrFor information on how to get started with solr please see:- * [solr/README.txt](../../README.txt)+ * [solr/README.md](../../README.md)* [Solr Tutorial](https://lucene.apache.org/solr/guide/solr-tutorial.html)# How To Contributediff --git a/solr/example/README.txt b/solr/example/README.mdsimilarity index 60%rename from solr/example/README.txtrename to solr/example/README.mdindex 1bfb598905f..4ee92489357 100644--- a/solr/example/README.txt+++ b/solr/example/README.md@@ -1,17 +1,19 @@-# 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.+<!--+ 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.+-->Solr example------------@@ -19,44 +21,59 @@ Solr exampleThis directory contains Solr examples. Each example is contained in aseparate directory. To run a specific example, do:+```bin/solr -e <EXAMPLE> where <EXAMPLE> is one of:cloud : SolrCloud exampledih : Data Import Handler (rdbms, mail, atom, tika)schemaless : Schema-less example (schema is inferred from data during indexing)techproducts : Kitchen sink example providing comprehensive examples of Solr features+```For instance, if you want to run the Solr Data Import Handler example, do:+```bin/solr -e dih-+```+To see all the options available when starting Solr:+```bin/solr start -help+```After starting a Solr example, direct your Web browser to:+```http://localhost:8983/solr/+```To add documents to the index, use bin/post, for example:+```bin/post -c techproducts example/exampledocs/*.xml+```(where "techproducts" is the Solr core name)For more information about this example please read...- * example/solr/README.txt- For more information about the "Solr Home" and Solr specific configuration- * https://lucene.apache.org/solr/guide/solr-tutorial.html- For a Solr tutorial- * http://wiki.apache.org/solr/SolrResources- For a list of other tutorials and introductory articles.+ * [solr/example/README.md](./README.md)++For more information about the "Solr Home" and Solr specific configuration++* https://lucene.apache.org/solr/guide/solr-tutorial.html++For a Solr tutorial++ * https://wiki.apache.org/solr/SolrResources++For a list of other tutorials and introductory articles.Notes About These Examples---------------------------* References to Jar Files Outside This Directory *+### References to Jar Files Outside This DirectoryVarious example SolrHome dirs contained in this directory may use "<lib>"statements in the solrconfig.xml file to reference plugin jars outside of@@ -68,7 +85,7 @@ clustering component, or any other modules in "contrib", you will need tocopy the required jars or update the paths to those jars in yoursolrconfig.xml.-* Logging *+### LoggingBy default, Jetty & Solr will log to the console and logs/solr.log. This canbe convenient when first getting started, but eventually you will want todiff --git a/solr/example/build.gradle b/solr/example/build.gradleindex 40aefe6428c..c948ee35947 100644--- a/solr/example/build.gradle+++ b/solr/example/build.gradle@@ -41,7 +41,7 @@ task assemblePackaging(type: Sync) {include "exampledocs/**"include "files/**"include "films/**"- include "README.txt"+ include "README.md"exclude "**/*.jar"})diff --git a/solr/example/example-DIH/README.txt b/solr/example/example-DIH/README.mdsimilarity index 59%rename from solr/example/example-DIH/README.txtrename to solr/example/example-DIH/README.mdindex 30c37ebf1ba..8aa01f3dd3e 100644--- a/solr/example/example-DIH/README.txt+++ b/solr/example/example-DIH/README.md@@ -1,24 +1,28 @@-# 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.+<!--+ 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.+-->Solr DataImportHandler example configuration--------------------------------------------To run this multi-core example, use the "-e" option of the bin/solr script:+```> bin/solr -e dih+```When Solr is started connect to:diff --git a/solr/example/files/README.txt b/solr/example/files/README.mdsimilarity index 78%rename from solr/example/files/README.txtrename to solr/example/files/README.mdindex 680d94e8da3..daeb5a3125c 100644--- a/solr/example/files/README.txt+++ b/solr/example/files/README.md@@ -22,28 +22,34 @@ PDFs, HTML, and many other supported types.For further explanations, see the frequently asked questions at the end of the guide.-##GETTING STARTED+## GETTING STARTED* To start Solr, enter the following command (make sure you’ve cd’ed into the directory in which Solr was installed):+```bin/solr start+```* If you’ve started correctly, you should see the following output:+```Waiting to see Solr listening on port 8983 [/]Started Solr server on port 8983 (pid=<your pid>). Happy searching!-<hr>+```-##CREATING THE CORE/COLLECTION+## CREATING THE CORE/COLLECTION* Before you can index your documents, you’ll need to create a core/collection. Do this by entering:+```bin/solr create -c files -d example/files/conf+```* Now you’ve created a core called “files” using a configuration tuned for indexing and querying rich text files.* You should see the following response:+```Creating new core 'files' using command:http://localhost:8983/solr/admin/cores?action=CREATE&name=files&instanceDir=files@@ -52,26 +58,31 @@ For further explanations, see the frequently asked questions at the end of the g"status":0,"QTime":239},"core":"files"}+```-<hr>-##INDEXING DOCUMENTS+## INDEXING DOCUMENTS* Return to your command shell. To post all of your documents to the documents core, enter the following:+```bin/post -c files ~/Documents+```* Depending on how many documents you have, this could take a while. Sit back and watch the magic happen. When all of your documents have been indexed you’ll see something like:+```<some number> files indexed.COMMITting Solr index changes to http://localhost:8983/solr/files/update...Time spent: <some amount of time>+```* To see a list of accepted file types, do:++```bin/post -h-+```-<hr>-##BROWSING DOCUMENTS+## BROWSING DOCUMENTS* Your document information can be viewed in multiple formats: XML, JSON, CSV, as well as a nice HTML interface.@@ -80,8 +91,7 @@ For further explanations, see the frequently asked questions at the end of the g* To view your document information in XML or other formats, add &wt (for writer type) to the end of that URL. i.e. To view your results in xml format direct your browser to:[http://localhost:8983/solr/files/browse?&wt=xml](http://localhost:8983/solr/files/browse?&wt=xml)-<hr>-##ADMIN UI+## ADMIN UI* Another way to verify that your core has been created is to view it in the Admin User Interface.@@ -98,8 +108,7 @@ For further explanations, see the frequently asked questions at the end of the g* Now you’ve opened the core page. On this page there are a multitude of different tools you can use to analyze and search your core. You will make use of these features after indexing your documents.* Take note of the "Num Docs" field in your core Statistics. If after indexing your documents, it shows Num Docs to be 0, that means there was a problem indexing.-<hr>-##QUERYING INDEX+## QUERYING INDEX* In the Admin UI, enter a term in the query box to see which documents contain the word.@@ -111,42 +120,48 @@ For further explanations, see the frequently asked questions at the end of the g* Another way to query the index is by manipulating the URL in your address bar once in the browse view.* i.e. : [http://localhost:8983/solr/files/browse?q=Lucene](http://localhost:8983/solr/files/browse?q=Lucene)-<hr>-##FAQs++## FAQs* Why use -d when creating a core?* -d specifies a specific configuration to use. This example as a configuration tuned for indexing and query richtext files.* How do I delete a core?- * To delete a core (i.e. files), you can enter the following in your command shell:- bin/solr delete -c files-- * You should see the following output:+ * To delete a core (i.e. files), you can enter the following in your command shell:++ ```+ bin/solr delete -c files+ ```++ * You should see the following output:- Deleting core 'files' using command:- http://localhost:8983/solr/admin/cores?action=UNLOAD&core=files&deleteIndex=true&deleteDataDir=true&deleteInstanceDir=true+ Deleting core 'files' using command:++ ```+ http://localhost:8983/solr/admin/cores?action=UNLOAD&core=files&deleteIndex=true&deleteDataDir=true&deleteInstanceDir=true- {"responseHeader":{- "status":0,- "QTime":19}}-- * This calls the Solr core admin handler, "UNLOAD", and the parameters "deleteDataDir" and "deleteInstanceDir" to ensure that all data associated with core is also removed+ {"responseHeader":{+ "status":0,+ "QTime":19}}+ ```++ * This calls the Solr core admin handler, "UNLOAD", and the parameters "deleteDataDir" and "deleteInstanceDir" to ensure that all data associated with core is also removed* How can I change the /browse UI?- The primary templates are under example/files/conf/velocity. **In order to edit those files in place (without having to- re-create or patch a core/collection with an updated configuration)**, Solr can be started with a special system property- set to the _absolute_ path to the conf/velocity directory, like this:+ The primary templates are under example/files/conf/velocity. **In order to edit those files in place (without having to+ re-create or patch a core/collection with an updated configuration)**, Solr can be started with a special system property+ set to the _absolute_ path to the conf/velocity directory, like this:- bin/solr start -Dvelocity.template.base.dir=</full/path/to>/example/files/conf/velocity/-- If you want to adjust the browse templates for an existing collection, edit the core’s configuration- under server/solr/files/conf/velocity.-+ ```+ bin/solr start -Dvelocity.template.base.dir=</full/path/to>/example/files/conf/velocity/+ ```++If you want to adjust the browse templates for an existing collection, edit the core’s configuration+under server/solr/files/conf/velocity.-=======+## Provenance of free images used in this example:-* Provenance of free images used in this example:- Globe icon: visualpharm.com- Flag icons: freeflagicons.com\ No newline at end of filediff --git a/solr/example/films/README.txt b/solr/example/films/README.mdsimilarity index 81%rename from solr/example/films/README.txtrename to solr/example/films/README.mdindex d1679d22223..8bd0ce7a740 100644--- a/solr/example/films/README.txt+++ b/solr/example/films/README.md@@ -12,37 +12,48 @@ This data consists of the following fields:Steps:* Start Solr:- bin/solr start+ ```+ bin/solr start+ ```* Create a "films" core:- bin/solr create -c films++ ```+ bin/solr create -c films+ ```* Set the schema on a couple of fields that Solr would otherwise guess differently (than we'd like) about:-curl http://localhost:8983/solr/films/schema -X POST -H 'Content-type:application/json' --data-binary '{- "add-field" : {- "name":"name",- "type":"text_general",- "multiValued":false,- "stored":true- },- "add-field" : {- "name":"initial_release_date",- "type":"pdate",- "stored":true- }-}'++ ```+ curl http://localhost:8983/solr/films/schema -X POST -H 'Content-type:application/json' --data-binary '{+ "add-field" : {+ "name":"name",+ "type":"text_general",+ "multiValued":false,+ "stored":true+ },+ "add-field" : {+ "name":"initial_release_date",+ "type":"pdate",+ "stored":true+ }+ }'+ ```* Now let's index the data, using one of these three commands:- - JSON: bin/post -c films example/films/films.json- - XML: bin/post -c films example/films/films.xml- - CSV: bin/post \+ - JSON: `bin/post -c films example/films/films.json`+ - XML: `bin/post -c films example/films/films.xml`+ - CSV:+ ```+ bin/post \-c films \example/films/films.csv \-params "f.genre.split=true&f.directed_by.split=true&f.genre.separator=|&f.directed_by.separator=|"-+ ```* Let's get searching!- Search for 'Batman':+http://localhost:8983/solr/films/query?q=name:batman* If you get an error about the name field not existing, you haven't yet indexed the data@@ -51,27 +62,34 @@ curl http://localhost:8983/solr/films/schema -X POST -H 'Content-type:applicatioIt's easiest to simply reset the environment and try again, ensuring that each step successfully executes.- Show me all 'Super hero' movies:+http://localhost:8983/solr/films/query?q=*:*&fq=genre:%22Superhero%20movie%22- Let's see the distribution of genres across all the movies. See the facet section of the response for the counts:+http://localhost:8983/solr/films/query?q=*:*&facet=true&facet.field=genre- Browse the indexed films in a traditional browser search interface:+http://localhost:8983/solr/films/browseNow browse including the genre field as a facet:+http://localhost:8983/solr/films/browse?facet.field=genreIf you want to set a facet for /browse to keep around for every request add the facet.field into the "facets"param set (which the /browse handler is already configured to use):-curl http://localhost:8983/solr/films/config/params -H 'Content-type:application/json' -d '{-"update" : {- "facets": {- "facet.field":"genre"- }- }-}'+ ```+ curl http://localhost:8983/solr/films/config/params -H 'Content-type:application/json' -d '{+ "update" : {+ "facets": {+ "facet.field":"genre"+ }+ }+ }'+ ```+And now http://localhost:8983/solr/films/browse will display the _genre_ facet automatically.Exploring the data further -@@ -93,6 +111,7 @@ FAQ:Is there an easy to copy/paste script to do all of the above?+```Here ya go << END_OF_SCRIPTbin/solr stop@@ -123,9 +142,11 @@ curl http://localhost:8983/solr/films/config/params -H 'Content-type:application}'# END_OF_SCRIPT+```Additional fun -+```Add highlighting:curl http://localhost:8983/solr/films/config/params -H 'Content-type:application/json' -d '{"set" : {@@ -135,4 +156,6 @@ curl http://localhost:8983/solr/films/config/params -H 'Content-type:application}}}'+```+try http://localhost:8983/solr/films/browse?q=batman now, and you'll see "batman" highlighted in the resultsdiff --git a/solr/packaging/build.gradle b/solr/packaging/build.gradleindex 88956390770..e45c3081fb0 100644--- a/solr/packaging/build.gradle+++ b/solr/packaging/build.gradle@@ -72,7 +72,7 @@ task toDir(type: Sync) {include "CHANGES.txt"include "LICENSE.txt"include "NOTICE.txt"- include "README.txt"+ include "README.md"})from(project(":lucene").projectDir, {diff --git a/solr/server/README.txt b/solr/server/README.mdsimilarity index 78%rename from solr/server/README.txtrename to solr/server/README.mdindex d4b421cac3f..6686c4f1f96 100644--- a/solr/server/README.txt+++ b/solr/server/README.md@@ -1,17 +1,19 @@-# 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.+<!--+ 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.+-->Solr server------------@@ -21,14 +23,17 @@ run Solr.To run Solr:+```cd $SOLR_INSTALLbin/solr start+```where $SOLR_INSTALL is the location where you extracted the Solr installation bundle.Server directory layout-----------------------+```server/contextsThis directory contains the Jetty Web application deployment descriptor for the Solr Web app.@@ -75,18 +80,18 @@ server/solr/configsetsserver/solr-webappContains files used by the Solr server; do not edit files in this directory (Solr is not a Java Web application).-+```Notes About Solr Examples---------------------------* SolrHome *+### SolrHomeBy default, start.jar starts Solr in Jetty using the default Solr Homedirectory of "./solr/" (relative to the working directory of the servletcontainer).-* References to Jar Files Outside This Directory *+### References to Jar Files Outside This DirectoryVarious example SolrHome dirs contained in this directory may use "<lib>"statements in the solrconfig.xml file to reference plugin jars outside of@@ -98,7 +103,7 @@ clustering component, or any other modules in "contrib", you will need tocopy the required jars or update the paths to those jars in yoursolrconfig.xml.-* Logging *+### LoggingBy default, Jetty & Solr will log to the console and logs/solr.log. This canbe convenient when first getting started, but eventually you will want todiff --git a/solr/server/build.gradle b/solr/server/build.gradleindex f869a826662..5a74f3d10ef 100644--- a/solr/server/build.gradle+++ b/solr/server/build.gradle@@ -100,7 +100,7 @@ task assemblePackaging(type: Sync) {include "resources/**"include "scripts/**"include "solr/**"- include "README.txt"+ include "README.md"})from(configurations.compileClasspath, {diff --git a/solr/server/solr/README.txt b/solr/server/solr/README.mdsimilarity index 69%rename from solr/server/solr/README.txtrename to solr/server/solr/README.mdindex 6404f2cb7fb..e5567602a48 100644--- a/solr/server/solr/README.txt+++ b/solr/server/solr/README.md@@ -1,18 +1,19 @@-# 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.-+<!--+ 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.+-->Default Solr Home Directory=============================@@ -26,7 +27,7 @@ Basic Directory StructureThe Solr Home directory typically contains the following...-* solr.xml *+### solr.xmlThis is the primary configuration file Solr looks for when starting;it specifies high-level configuration options that apply to all@@ -44,13 +45,13 @@ for collection1 should be the same as the Solr Home Directory.For more information about solr.xml, please see:https://lucene.apache.org/solr/guide/solr-cores-and-solr-xml.html-* Individual SolrCore Instance Directories *+### Individual SolrCore Instance DirectoriesAlthough solr.xml can be configured to look for SolrCore Instance Directoriesin any path, simple sub-directories of the Solr Home Dir using relative pathsare common for many installations.-* Core Discovery *+### Core DiscoveryDuring startup, Solr will scan sub-directories of Solr home looking fora specific file named core.properties. If core.properties is found in a@@ -60,15 +61,16 @@ defined in core.properties. For an example of core.properties, please see:example/solr/collection1/core.propertiesFor more information about core discovery, please see:+https://lucene.apache.org/solr/guide/defining-core-properties.html-* A Shared 'lib' Directory *+### A Shared 'lib' DirectoryAlthough solr.xml can be configured with an optional "sharedLib" attributethat can point to any path, it is common to use a "./lib" sub-directory of theSolr Home Directory.-* ZooKeeper Files *+### ZooKeeper FilesWhen using SolrCloud using the embedded ZooKeeper option for Solr, it iscommon to have a "zoo.cfg" file and "zoo_data" directories in the Solr Homediff --git a/solr/server/solr/configsets/sample_techproducts_configs/conf/clustering/carrot2/README.txt b/solr/server/solr/configsets/sample_techproducts_configs/conf/clustering/carrot2/README.mdsimilarity index 100%rename from solr/server/solr/configsets/sample_techproducts_configs/conf/clustering/carrot2/README.txtrename to solr/server/solr/configsets/sample_techproducts_configs/conf/clustering/carrot2/README.mddiff --git a/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/README.txt b/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/README.mdsimilarity index 97%rename from solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/README.txtrename to solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/README.mdindex 5d560baec2d..05c6d4354a0 100644--- a/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/README.txt+++ b/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/README.md@@ -30,6 +30,7 @@ It's nice in this context because change to the templatesare immediately visible in browser on the next visit.Links:+http://velocity.apache.orghttp://wiki.apache.org/velocity/http://velocity.apache.org/engine/releases/velocity-1.7/user-guide.html@@ -39,14 +40,18 @@ File List---------System and Misc:+```VM_global_library.vm - Macros used other templates,exact filename is important for Velocity to see iterror.vm - shows errors, if anydebug.vm - includes toggle links for "explain" and "all fields"activated by debug link in footer.vm- README.txt - this file+ README.md - this file+```Overall Page Composition:++```browse.vm - Main entry point into templateslayout.vm - overall HTML page layouthead.vm - elements in the <head> section of the HTML document@@ -55,22 +60,30 @@ Overall Page Composition:includes debug and help linksmain.css - CSS style for overall pagessee also jquery.autocomplete.css+```Query Form and Options:++```query_form.vm - renders query formquery_group.vm - group by fieldse.g.: Manufacturer or Poplularityquery_spatial.vm - select box for location based Geospacial search+```Spelling Suggestions:++```did_you_mean.vm - hyperlinked spelling suggestions in resultssuggest.vm - dynamic spelling suggestionsas you type in the search formjquery.autocomplete.js - supporting files for dynamic suggestionsjquery.autocomplete.css - Most CSS is defined in main.css-+```Search Results, General:++```(see also browse.vm)tabs.vm - provides navigation to advanced search optionspagination_top.vm - paging and staticis at top of results@@ -84,9 +97,10 @@ Search Results, General:richtext_doc.vm - display a complex/misc. documenthit_plain.vm - basic display of all fields,edit results_list.vm to enable this-+```Search Results, Facets & Clusters:+```facets.vm - calls the 4 facet and 1 cluster templatefacet_fields.vm - display facets based on field valuese.g.: fields specified by &facet.field=@@ -99,3 +113,4 @@ Search Results, Facets & Clusters:cluster.vm - if clustering is availablethen call cluster_results.vmcluster_results.vm - actual rendering of clusters+```\ No newline at end of filediff --git a/solr/site/SYSTEM_REQUIREMENTS.mdtext b/solr/site/SYSTEM_REQUIREMENTS.mdsimilarity index 100%rename from solr/site/SYSTEM_REQUIREMENTS.mdtextrename to solr/site/SYSTEM_REQUIREMENTS.mddiff --git a/solr/solr-ref-guide/src/filter-descriptions.adoc b/solr/solr-ref-guide/src/filter-descriptions.adocindex cfdd9a1d5af..dca30260c45 100644--- a/solr/solr-ref-guide/src/filter-descriptions.adoc+++ b/solr/solr-ref-guide/src/filter-descriptions.adoc@@ -816,7 +816,7 @@ Note that for this filter to work properly, the upstream tokenizer must not remoThis filter is a custom Unicode normalization form that applies the foldings specified in http://www.unicode.org/reports/tr30/tr30-4.html[Unicode TR #30: Character Foldings] in addition to the `NFKC_Casefold` normalization form as described in <<ICU Normalizer 2 Filter>>. This filter is a better substitute for the combined behavior of the <<ASCII Folding Filter>>, <<Lower Case Filter>>, and <<ICU Normalizer 2 Filter>>.-To use this filter, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.txt` for instructions on which jars you need to add.+To use this filter, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.md` for instructions on which jars you need to add.*Factory class:* `solr.ICUFoldingFilterFactory`@@ -924,7 +924,7 @@ This filter factory normalizes text according to one of five Unicode NormalizatiFor detailed information about these normalization forms, see http://unicode.org/reports/tr15/[Unicode Normalization Forms].-To use this filter, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.txt` for instructions on which jars you need to add.+To use this filter, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.md` for instructions on which jars you need to add.== ICU Transform Filter@@ -966,7 +966,7 @@ This filter applies http://userguide.icu-project.org/transforms/general[ICU TranFor detailed information about ICU Transforms, see http://userguide.icu-project.org/transforms/general.-To use this filter, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.txt` for instructions on which jars you need to add.+To use this filter, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.md` for instructions on which jars you need to add.== Keep Word Filterdiff --git a/solr/solr-ref-guide/src/language-analysis.adoc b/solr/solr-ref-guide/src/language-analysis.adocindex b40089a4bae..d491a6cc866 100644--- a/solr/solr-ref-guide/src/language-analysis.adoc+++ b/solr/solr-ref-guide/src/language-analysis.adoc@@ -220,7 +220,7 @@ Unicode Collation in Solr is fast, because all the work is done at index time.Rather than specifying an analyzer within `<fieldtype ... class="solr.TextField">`, the `solr.CollationField` and `solr.ICUCollationField` field type classes provide this functionality. `solr.ICUCollationField`, which is backed by http://site.icu-project.org[the ICU4J library], provides more flexible configuration, has more locales, is significantly faster, and requires less memory and less index space, since its keys are smaller than those produced by the JDK implementation that backs `solr.CollationField`.-To use `solr.ICUCollationField`, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.txt` for instructions on which jars you need to add.+To use `solr.ICUCollationField`, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.md` for instructions on which jars you need to add.`solr.ICUCollationField` and `solr.CollationField` fields can be created in two ways:@@ -487,7 +487,7 @@ The `lucene/analysis/opennlp` module provides OpenNLP integration via several anNOTE: The <<OpenNLP Tokenizer>> must be used with all other OpenNLP analysis components, for two reasons: first, the OpenNLP Tokenizer detects and marks the sentence boundaries required by all the OpenNLP filters; and second, since the pre-trained OpenNLP models used by these filters were trained using the corresponding language-specific sentence-detection/tokenization models, the same tokenization, using the same models, must be used at runtime for optimal performance.-To use the OpenNLP components, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.txt` for instructions on which jars you need to add.+To use the OpenNLP components, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.md` for instructions on which jars you need to add.=== OpenNLP Tokenizer@@ -1033,7 +1033,7 @@ Solr can stem Catalan using the Snowball Porter Stemmer with an argument of `lan=== Traditional Chinese-The default configuration of the <<tokenizers.adoc#icu-tokenizer,ICU Tokenizer>> is suitable for Traditional Chinese text. It follows the Word Break rules from the Unicode Text Segmentation algorithm for non-Chinese text, and uses a dictionary to segment Chinese words. To use this tokenizer, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See the `solr/contrib/analysis-extras/README.txt` for information on which jars you need to add.+The default configuration of the <<tokenizers.adoc#icu-tokenizer,ICU Tokenizer>> is suitable for Traditional Chinese text. It follows the Word Break rules from the Unicode Text Segmentation algorithm for non-Chinese text, and uses a dictionary to segment Chinese words. To use this tokenizer, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See the `solr/contrib/analysis-extras/README.md` for information on which jars you need to add.<<tokenizers.adoc#standard-tokenizer,Standard Tokenizer>> can also be used to tokenize Traditional Chinese text. Following the Word Break rules from the Unicode Text Segmentation algorithm, it produces one token per Chinese character. When combined with <<CJK Bigram Filter>>, overlapping bigrams of Chinese characters are formed.@@ -1105,9 +1105,9 @@ See the example under <<Traditional Chinese>>.=== Simplified Chinese-For Simplified Chinese, Solr provides support for Chinese sentence and word segmentation with the <<HMM Chinese Tokenizer>>. This component includes a large dictionary and segments Chinese text into words with the Hidden Markov Model. To use this tokenizer, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See the `solr/contrib/analysis-extras/README.txt` for information on which jars you need to add.+For Simplified Chinese, Solr provides support for Chinese sentence and word segmentation with the <<HMM Chinese Tokenizer>>. This component includes a large dictionary and segments Chinese text into words with the Hidden Markov Model. To use this tokenizer, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See the `solr/contrib/analysis-extras/README.md` for information on which jars you need to add.-The default configuration of the <<tokenizers.adoc#icu-tokenizer,ICU Tokenizer>> is also suitable for Simplified Chinese text. It follows the Word Break rules from the Unicode Text Segmentation algorithm for non-Chinese text, and uses a dictionary to segment Chinese words. To use this tokenizer, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See the `solr/contrib/analysis-extras/README.txt` for information on which jars you need to add.+The default configuration of the <<tokenizers.adoc#icu-tokenizer,ICU Tokenizer>> is also suitable for Simplified Chinese text. It follows the Word Break rules from the Unicode Text Segmentation algorithm for non-Chinese text, and uses a dictionary to segment Chinese words. To use this tokenizer, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See the `solr/contrib/analysis-extras/README.md` for information on which jars you need to add.Also useful for Chinese analysis:@@ -1162,7 +1162,7 @@ Also useful for Chinese analysis:=== HMM Chinese Tokenizer-For Simplified Chinese, Solr provides support for Chinese sentence and word segmentation with the `solr.HMMChineseTokenizerFactory` in the `analysis-extras` contrib module. This component includes a large dictionary and segments Chinese text into words with the Hidden Markov Model. To use this tokenizer, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.txt` for instructions on which jars you need to add.+For Simplified Chinese, Solr provides support for Chinese sentence and word segmentation with the `solr.HMMChineseTokenizerFactory` in the `analysis-extras` contrib module. This component includes a large dictionary and segments Chinese text into words with the Hidden Markov Model. To use this tokenizer, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.md` for instructions on which jars you need to add.*Factory class:* `solr.HMMChineseTokenizerFactory`@@ -1960,7 +1960,7 @@ Example:[[hebrew-lao-myanmar-khmer]]=== Hebrew, Lao, Myanmar, Khmer-Lucene provides support, in addition to UAX#29 word break rules, for Hebrew's use of the double and single quote characters, and for segmenting Lao, Myanmar, and Khmer into syllables with the `solr.ICUTokenizerFactory` in the `analysis-extras` contrib module. To use this tokenizer, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.txt for` instructions on which jars you need to add.+Lucene provides support, in addition to UAX#29 word break rules, for Hebrew's use of the double and single quote characters, and for segmenting Lao, Myanmar, and Khmer into syllables with the `solr.ICUTokenizerFactory` in the `analysis-extras` contrib module. To use this tokenizer, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.md` for instructions on which jars you need to add.See <<tokenizers.adoc#icu-tokenizer,the ICUTokenizer>> for more information.@@ -2167,7 +2167,7 @@ Solr includes support for normalizing Persian, and Lucene includes an example st=== Polish-Solr provides support for Polish stemming with the `solr.StempelPolishStemFilterFactory`, and `solr.MorphologikFilterFactory` for lemmatization, in the `contrib/analysis-extras` module. The `solr.StempelPolishStemFilterFactory` component includes an algorithmic stemmer with tables for Polish. To use either of these filters, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.txt` for instructions on which jars you need to add.+Solr provides support for Polish stemming with the `solr.StempelPolishStemFilterFactory`, and `solr.MorphologikFilterFactory` for lemmatization, in the `contrib/analysis-extras` module. The `solr.StempelPolishStemFilterFactory` component includes an algorithmic stemmer with tables for Polish. To use either of these filters, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.md` for instructions on which jars you need to add.*Factory class:* `solr.StempelPolishStemFilterFactory` and `solr.MorfologikFilterFactory`@@ -2684,7 +2684,7 @@ Solr includes support for stemming Turkish with the `solr.SnowballPorterFilterFa=== Ukrainian-Solr provides support for Ukrainian lemmatization with the `solr.MorphologikFilterFactory`, in the `contrib/analysis-extras` module. To use this filter, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.txt` for instructions on which jars you need to add.+Solr provides support for Ukrainian lemmatization with the `solr.MorphologikFilterFactory`, in the `contrib/analysis-extras` module. To use this filter, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See `solr/contrib/analysis-extras/README.md` for instructions on which jars you need to add.Lucene also includes an example Ukrainian stopword list, in the `lucene-analyzers-morfologik` jar.diff --git a/solr/solr-ref-guide/src/solr-tutorial.adoc b/solr/solr-ref-guide/src/solr-tutorial.adocindex 77b0deb1c9c..27654d95351 100644--- a/solr/solr-ref-guide/src/solr-tutorial.adoc+++ b/solr/solr-ref-guide/src/solr-tutorial.adoc@@ -916,7 +916,7 @@ You may get errors as it works through your documents. These might be caused byDataImportHandler::Solr includes a tool called the <<uploading-structured-data-store-data-with-the-data-import-handler.adoc#uploading-structured-data-store-data-with-the-data-import-handler,Data Import Handler (DIH)>> which can connect to databases (if you have a jdbc driver), mail servers, or other structured data sources. There are several examples included for feeds, GMail, and a small HSQL database.+-The `README.txt` file in `example/example-DIH` will give you details on how to start working with this tool.+The `README.md` file in `example/example-DIH` will give you details on how to start working with this tool.SolrJ::SolrJ is a Java-based client for interacting with Solr. Use <<using-solrj.adoc#using-solrj,SolrJ>> for JVM-based languages or other <<client-apis.adoc#client-apis,Solr clients>> to programmatically create documents to send to Solr.diff --git a/solr/solr-ref-guide/src/tokenizers.adoc b/solr/solr-ref-guide/src/tokenizers.adocindex 38999b1a55c..5ed20645441 100644--- a/solr/solr-ref-guide/src/tokenizers.adoc+++ b/solr/solr-ref-guide/src/tokenizers.adoc@@ -514,7 +514,7 @@ The default configuration for `solr.ICUTokenizerFactory` provides UAX#29 word br[IMPORTANT]====-To use this tokenizer, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See the `solr/contrib/analysis-extras/README.txt` for information on which jars you need to add.+To use this tokenizer, you must add additional .jars to Solr's classpath (as described in the section <<solr-plugins.adoc#installing-plugins,Solr Plugins>>). See the `solr/contrib/analysis-extras/README.md` for information on which jars you need to add.====diff --git a/solr/test-framework/README.txt b/solr/test-framework/README.mdsimilarity index 100%rename from solr/test-framework/README.txtrename to solr/test-framework/README.mddiff --git a/solr/test-framework/build.xml b/solr/test-framework/build.xmlindex b02cb0c6caf..242c384a7b1 100644--- a/solr/test-framework/build.xml+++ b/solr/test-framework/build.xml@@ -111,7 +111,7 @@</fileset><fileset dir="."><include name="lib/*" />- <include name="README.txt" />+ <include name="README.md" /></fileset></copy></target>