Index: other-projects/trunk/gs3-webservices-democlient/docs/HowToFiles/4InstallingFedoraGSearch.html
===================================================================
--- other-projects/trunk/gs3-webservices-democlient/docs/HowToFiles/4InstallingFedoraGSearch.html	(revision 15486)
+++ other-projects/trunk/gs3-webservices-democlient/docs/HowToFiles/4InstallingFedoraGSearch.html	(revision 15762)
@@ -9,25 +9,47 @@
 
 <h1>Installing Fedora Generic Search</h1>
+<h2>Sections</h2>
+<ul>
+<li><a href="#A">A Using the GSearchInstaller</a></li>
+<li><a href="#B">B Manual Installation</a></li>
+<li><a href="#C">C Important Notes</a></li>
+</ul>
+
+<p>Fedora Generic Search (Fedora GSearch) provides full-text indexing and searching for Fedora. This functionality is not offered by Fedora out-of-the-box, which is why it's a good idea to install Fedora GSearch alongside it.</p>
+
 In this document,
 <ul>
-<li>$FEDORA_HOME refers to the full path to your Fedora installation directory.<br /> </li>
-<li>For a walkthrough on installing Fedora (and for links to the official Fedora instructions for installation) see <a href="3InstallingFedora.html">Installing Fedora</a>.</li>
+<li>$FEDORA_HOME refers to the full path to your Fedora installation directory.</li>
+<li>You need to have Fedora installed in order to install Fedora Generic Search.<br />
+For a walkthrough on installing Fedora (and for links to the official Fedora instructions for installation) see <a href="3InstallingFedora.html">Installing Fedora</a>.</li>
 </ul>
 
 
+This document describes <b>two ways</b> in which you can install Fedora Generic Search:
+<ul>
+<li>By downloading Muradora's version of the fedoragsearch.war file and then using the GSearchInstaller application, or</li>
+<li>by doing the same steps manually.</li>
+</ul>
+See also the final section containing <a href="#C">Important Notes</a>.
+
+<h2><a name="A">A Using the GSearchInstaller</a></h2>
+You will need Java 1.5 or higher, which would also have been required to install Fedora itself.
 <ol>
-<li><a href="http://drama.ramp.org.au/cgi-bin/trac.cgi/wiki/InstallingFedoraGSearch">The detailed installation instructions</a> which I followed were written by the Muradora team.<br />
-Make sure that upon installing Fedora Generic Search, you either
-<ul>
-<li>choose to call your index <b>FedoraIndex</b> since this is what the demo-client expects by default, or</li>
-<li>create a file called gs3democlient.properties in the same folder as where the demo-client executable is, unless such a file already exists. Then in that properties file, write down the name of your index for the property <i>gsearch.indexName</i> as follows:
-<pre>gsearch.indexName=your-fedora-index-name</pre>
-If you had to create the properties file, you'd have to create this property as well. But if the file already existed, then the property <i>gsearch.indexName</i> would have been in there and you need only adjust the index name it is set to to your own.</li>
-</ul>
+<li>Download <a href="http://drama.ramp.org.au/software/fedoragsearch.war">Muradora's version of fedoragsearch.war</a>.</li>
+<li>Download the GSearchInstaller.jar from the same place where you got the GS3 Web Services Demo-Client (GSearchInstaller.jar is part of the GS3 Web Services Demo-Client distribution file).</li>
+<li>In a Linux x-term or a Windows DOS prompt, go to the location where your GSearchInstaller.jar is located, and type
+<pre>java -jar GSearchInstaller.jar</pre>
+This will launch the installer's opening dialog.<br />
+(It is recommended that Windows users don't just double-click on the jar file as the application's output will indicate whether and where anything failed during installation. This output is sent to the DOS console which won't be there if you run the jar-file by double-clicking.)</li>
+<li>Type in your Fedora server host, port, username and password. Then choose a name for the Fedora GSearch index and repository. (By default, the GS3 Web Services Demo-Client application expects the index name to be <i>FedoraIndex</i>. If you choose something other than FedoraIndex as the index name, follow the steps in <a href="#C">Important Note #2</a>.) Finally, browse to the location of your Muradora fedorgsearch.war file.<br />
+<b>Note:</b> GSearchInstaller can also be run from the command-line, by passing command-line arguments to GSearchInstaller.jar. To find out what the accepted arguments are, run it with the -help flag:
+<pre>java -jar GSearchInstaller.jar -help</pre>
 </li>
+<li>It will take a little while to run, and if nothing went wrong, it will have installed Fedora Generic Search and indexed the <a href="8RunFedoraLibrarianInterface.html">Greenstone documents that were ingested into Fedora using FLI</a>.</li>
+</ol>
 
-<li>Once installed, the FedoraGSearch rest url will by default be at: 
-<pre>http://localhost:8080/fedoragsearch/rest</pre>
-</li>
+<h2><a name="B">B Manual Installation</a></h2>
+<ol>
+<li><a href="http://drama.ramp.org.au/cgi-bin/trac.cgi/wiki/InstallingFedoraGSearch">The detailed installation instructions</a> which I followed were written by the Muradora team.</li>
 
 <li>Next to the steps above, you will need to make some more changes in order to enable full-text indexing and searching of the Greenstone documents ingested into the Fedora repository.
@@ -71,6 +93,23 @@
 The field ds.label and a document's full-text can now be searched and will appear in the search results. (Only a customisable snippet-size of a document's full-text will present in the results of a search.) 
 </li>
+</ol>
+</li>
+</ol>
 
-<li>Finally, <b>an important note:</b> Fedora Generic Search only supports indexing and searching Fedora Digital Objects (Fedora repository contents) whose MIME-type is one of
+<h2><a name="C">C Important notes</a></h2>
+<ol>
+<li>Once installed, the FedoraGSearch rest url will by default be at: 
+<pre>http://localhost:8080/fedoragsearch/rest</pre>
+If you visit this page, there are links to doing searches and browsing the Fedora repository's full-text contexts.</li>
+<li>Make sure that upon installing Fedora Generic Search (whether using GSearchInstaller or installing manually), you either:
+<ul>
+<li>choose to call your index <b>FedoraIndex</b> since this is what the demo-client expects by default, or</li>
+<li>create a file called gs3democlient.properties in the same folder as where the demo-client executable is, unless such a file already exists. Then in that properties file, write down the name of your index for the property <i>gsearch.indexName</i> as follows:
+<pre>gsearch.indexName=your-fedora-index-name</pre>
+If you had to create the properties file, you'd have to create this property as well. But if the file already existed, then the property <i>gsearch.indexName</i> would have been in there and you need only adjust the index name it is set to to your own.</li>
+</ul>
+</li>
+
+<li><b>IMPORTANT:</b> Fedora Generic Search only supports indexing and searching Fedora Digital Objects (Fedora repository contents) whose MIME-type is one of
 <ul>
 <li>text/html</li>
@@ -78,10 +117,8 @@
 <li>application/pdf</li>
 </ul>
-Text/xml is not accepted. (Therefore Greenstone documents exported to FedoraMETS and ingested into Fedora must be of one of the above MIME-types, else they will not be indexed by Fedora Generic Search.)  
+Text/xml is not accepted. (Therefore Greenstone documents exported to FedoraMETS and ingested into Fedora must be of one of the above MIME-types, else they will not be indexed by Fedora Generic Search.) <br />
+At present, FLI sets the content-type of the Fedora METS documents it exports to being text/xml. Therefore these documents don't yet get indexed by Fedora Generic Search. In order to do that, you need to use <i>Fedora</i>'s Admin-Client application to change the content-type for the documents FLI puts into Fedora from text/xml to text/html.
 </li>
 </ol>
-</li>
-</ol>
-
 </body>
 </html>
