Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>This is kind of late in the game, but I just put up a blog post with <a href="http://www.plaidpony.com/blog/post/2011/04/Multicore-SOLR-And-Tomcat-On-Windows-Server-2008-R2.aspx" rel="nofollow">instructions for a multicore SOLR instance on Tomcat</a> which reads:</p> <blockquote> <ol> <li>Downloaded and installed the 32-bit/64-bit Windows Service Installer for Tomcat</li> <li>Installed Tomcat on the server (no special instructions here--just run the install and install wherever you wish)</li> <li>Verified the installation of Tomcat by going to http://localhost:8080</li> <li>Edit Tomcat's conf/server.xml and add <strong>URIEncoding="UTF-8"</strong> to the &lt;Connector&gt; element as shown here</li> <li>Download SOLR from one of the mirrors found here&nbsp;(downloaded the apache-solr-1.4.1.zip package) and unzip the package</li> <li>Create a directory where SOLR will be hosted from (in my case I used e:\inetpub\solr)</li> <li>Copy the contents of the <strong>example\solr</strong> directory to your SOLR host directory (in my case e:\inetpub\solr)</li> <li>Create directories under your SOLR host directory for each of the cores you wish to create (I created a dozen or so folders for each core I wanted to create in the e:\inetpub\solr directory.&nbsp; The directories included en-US, en-CA, en-GB, etc.)</li> <li>Copy the <strong>solr.xml</strong> file from the <strong>example\multicore</strong> directory and paste it into your SOLR host directory (e:\inetpub\solr for my example)</li> <li>Edit the <strong>solr.xml</strong> file to include the information for each of the cores you created (if you created a folder under your host for a core named <strong>en-US</strong>, then add the following under the &lt;cores&gt; element in the <strong>solr.xml</strong> file: <strong>&lt;core name="en-US" instanceDir="en-US" /&gt;</strong>)</li> <li>Stop the Tomcat Service</li> <li>Copy the *solr*.war file from the&nbsp;<strong>dist</strong> directory in the unzipped SOLR package to your Tomcat <strong>webapps</strong> folder</li> <li>Rename the *solr*.war file to solr.war</li> <li>In the notification area in the right-hand side of the Windows task bar, right-click on the <strong>Apache Tomcat 7</strong> icon and select <strong>Configure</strong></li> <li>Click the <strong>Java</strong> tab and add the following to the <strong>Java Options</strong> text box: <strong>-Dsolr.solr.home=e:\inetpub\solr</strong> (change e:\inetpub\solr to wherever your SOLR is being hosted)</li> <li>Click <strong>OK</strong> in the dialog and then start-up the Tomcat service</li> <li>Open the <strong>conf\solrconfig.xml</strong> files under each of the cores you created and change the <strong>dataDir</strong> element to point to a specific directory.&nbsp; If this step is not completed, all of your cores will be using the same data store for their data.</li> <li>Stop and re-start the Tomcat Service</li> <li>Test that your cores are running by running a query from the web browser http://localhost:8080/solr/en-US/select?q=*:*&nbsp;(replace "en-US" with whatever you've named one of your cores)</li> </ol> </blockquote>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload