Apache Solr open-source search software
Fix tabs in MD files
Uwe Schindler3cb2829a17e7
diff --git a/solr/example/files/README.md b/solr/example/files/README.mdindex daeb5a3125c..04771be0b41 100644--- a/solr/example/files/README.md+++ b/solr/example/files/README.md@@ -27,14 +27,14 @@ For further explanations, see the frequently asked questions at the end of the g* To start Solr, enter the following command (make sure you’ve cd’ed into the directory in which Solr was installed):```- bin/solr start+ 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!+ Waiting to see Solr listening on port 8983 [/]+ Started Solr server on port 8983 (pid=<your pid>). Happy searching!```## CREATING THE CORE/COLLECTION@@ -42,7 +42,7 @@ For further explanations, see the frequently asked questions at the end of the g* 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+ 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.@@ -50,14 +50,14 @@ For further explanations, see the frequently asked questions at the end of the g* You should see the following response:```- Creating new core 'files' using command:- http://localhost:8983/solr/admin/cores?action=CREATE&name=files&instanceDir=files-- {- "responseHeader":{- "status":0,- "QTime":239},- "core":"files"}+ Creating new core 'files' using command:+ http://localhost:8983/solr/admin/cores?action=CREATE&name=files&instanceDir=files++ {+ "responseHeader":{+ "status":0,+ "QTime":239},+ "core":"files"}```## INDEXING DOCUMENTS@@ -65,21 +65,21 @@ For further explanations, see the frequently asked questions at the end of the g* Return to your command shell. To post all of your documents to the documents core, enter the following:```- bin/post -c files ~/Documents+ 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>+ <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+ bin/post -h```## BROWSING DOCUMENTS@@ -89,18 +89,18 @@ For further explanations, see the frequently asked questions at the end of the g* To view your document information in the HTML interface view, adjust the URL in your address bar to [http://localhost:8983/solr/files/browse](http://localhost:8983/solr/files/browse)* 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)+ [http://localhost:8983/solr/files/browse?&wt=xml](http://localhost:8983/solr/files/browse?&wt=xml)## ADMIN UI* Another way to verify that your core has been created is to view it in the Admin User Interface.- - The Admin_UI serves as a visual tool for indexing and querying your index in Solr.+ - The Admin_UI serves as a visual tool for indexing and querying your index in Solr.* To access the Admin UI, go to your browser and visit :- [http://localhost:8983/solr/](http://localhost:8983/solr/)+ [http://localhost:8983/solr/](http://localhost:8983/solr/)- - <i>The Admin UI is only accessible when Solr is running</i>+ - <i>The Admin UI is only accessible when Solr is running</i>* On the left-hand side of the home page, click on “Core Selector”. The core you created, called “files” should be listed there; click on it. If it’s not listed, your core was not created and you’ll need to re-enter the create command.* Alternatively, you could just go to the core page directly by visiting : [http://localhost:8983/solr/#/files](http://localhost:8983/solr/#/files)@@ -124,26 +124,26 @@ For further explanations, see the frequently asked questions at the end of the g## 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 rich- text files.-+ * -d specifies a specific configuration to use. This example as a configuration tuned for indexing and query rich+ text 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:-- 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}}+ 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@@ -153,7 +153,7 @@ For further explanations, see the frequently asked questions at the end of the gThe primary templates are under example/files/conf/velocity. **In order to edit those files in place (without having tore-create or patch a core/collection with an updated configuration)**, Solr can be started with a special system propertyset 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/```diff --git a/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/README.md b/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/README.mdindex 05c6d4354a0..9f4db64be8b 100644--- a/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/README.md+++ b/solr/server/solr/configsets/sample_techproducts_configs/conf/velocity/README.md@@ -5,7 +5,7 @@ Solr Search Velocity TemplatesA quick demo of using Solr using http://wiki.apache.org/solr/VelocityResponseWriterYou typically access these templates via:- http://localhost:8983/solr/collection1/browse+ http://localhost:8983/solr/collection1/browseIt's called "browse" because you can click around with your mousewithout needing to type any search terms. And of course it@@ -31,9 +31,9 @@ are immediately visible in browser on the next visit.Links:- http://velocity.apache.org- http://wiki.apache.org/velocity/- http://velocity.apache.org/engine/releases/velocity-1.7/user-guide.html+ http://velocity.apache.org+ http://wiki.apache.org/velocity/+ http://velocity.apache.org/engine/releases/velocity-1.7/user-guide.htmlFile List