Taiga #318 + #319 - Move 'Reset Zebra index' and remove 'Delete sample data'
authorKatrin Fischer <katrin.fischer.83@web.de>
Tue, 15 May 2018 18:50:09 +0000 (20:50 +0200)
committerKatrin Fischer <katrin.fischer.83@web.de>
Tue, 15 May 2018 18:50:09 +0000 (20:50 +0200)
source/faq.rst
source/miscellaneous.rst

index 93a5c27..612d769 100644 (file)
@@ -891,6 +891,30 @@ The moral of the story is that single word searches, particularly on
 common words, will always struggle a bit; it can't evaluate relevance
 well, because you've not given it enough input.
 
+.. _reset-the-zebra-index-label:
+
+Reset the Zebra index
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Run the following commands to reset the authorities and biblios Zebra
+indices.
+
+::
+
+    $ zebraidx -c /etc/koha/zebradb/zebra-authorities-dom.cfg -g iso2709 -d authorities init
+    $ zebraidx -c /etc/koha/zebradb/zebra-biblios.cfg -g iso2709 -d biblios init
+
+If you are running a package install then you'll want to run the
+following commands to reset the authorities and biblios Zebra indices
+instead:
+
+::
+
+    $ sudo zebraidx -c /etc/koha/sites/YOURLIBRARY/zebra-authorities-dom.cfg  -g iso2709 -d authorities init
+    $ sudo zebraidx -c /etc/koha/sites/YOURLIBRARY/zebra-biblios.cfg  -g iso2709 -d biblios init
+
+Replacing YOURLIBRARY with your Koha installation name.
+
 .. _enhanced-content-label:
 
 Enhanced Content
index 05d2dca..e7b41d7 100644 (file)
@@ -908,67 +908,6 @@ Configuring Firefox to Print to Receipt Printer
    -  You may have to choose Generic/Text Only (or whatever your receipt
       printer might be named)
 
-
-Resetting the Koha Database
-===========================
-
-These notes on how to reset the database for Koha were derived from the
-following email thread:
-http://lists.koha-community.org/pipermail/koha-devel/2009-January/008939.html
-and http://lists.katipo.co.nz/public/koha/2014-June/039701.html
-
-Resetting the database may be useful if you install Koha with the sample
-data, and then wish to use real data without reinstalling the software.
-
-.. _delete-sample-data-from-tables-label:
-
-Delete sample data from Tables
---------------------------------------------------
-
-Use your preferred MySQL client to
-`delete <http://dev.mysql.com/doc/refman/5.5/en/delete.html>`__ the
-following tables:
-
--  bibio
-
--  biblioitems
-
--  items
-
--  auth\_header
-
--  sessions
-
--  zebraqueue
-
-You may need to disable foreign key checks to delete data from same
-tables. For instructions follow this thread:
-https://lists.katipo.co.nz/pipermail/koha/2013-July/036853.html.
-
-.. _reset-the-zebra-index-label:
-
-Reset the Zebra Index
----------------------------------------
-
-Run the following commands to reset the authorities and biblios Zebra
-indices.
-
-::
-
-    $ zebraidx -c /etc/koha/zebradb/zebra-authorities-dom.cfg -g iso2709 -d authorities init
-    $ zebraidx -c /etc/koha/zebradb/zebra-biblios.cfg -g iso2709 -d biblios init
-
-If you are running a package install then you'll want to run the
-following commands to reset the authorities and biblios Zebra indices
-instead:
-
-::
-
-    $ sudo zebraidx -c /etc/koha/sites/YOURLIBRARY/zebra-authorities-dom.cfg  -g iso2709 -d authorities init
-    $ sudo zebraidx -c /etc/koha/sites/YOURLIBRARY/zebra-biblios.cfg  -g iso2709 -d biblios init
-
-Replacing YOURLIBRARY with your Koha installation name.
-
 Koha XSLT Item Types
 ====================