Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

  1. Wiki Markup
    Download Jetty 8, unzip it, you will find the contexts dir, create new config file solr.xml \[solr.home\]/contexts/solr.xml 

    No Format
    
     <?xml version="1.0"  encoding="ISO-8859-1"?>
     <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
    
     <!-- ==================================================================
     Configure and deploy the test web application in $(jetty.home)/webapps/test
    
     Note. If this file did not exist or used a context path other that /test
     then the default configuration of jetty.xml would discover the test
     webapplication with a WebAppDeployer.  By specifying a context in this
     directory, additional configuration may be specified and hot deployments
     detected.
     ===================================================================== -->
    
     <Configure class="org.eclipse.jetty.webapp.WebAppContext">
    
    
       <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
       <!-- Required minimal context configuration :                        -->
       <!--  + contextPath                                                  -->
       <!--  + war OR resourceBase                                          -->
       <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
       <Set name="contextPath">/solr</Set>
       <Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/solr.war</Set>
    
       <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
       <!-- Optional context configuration                                  -->
       <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
       <Set name="extractWAR">true</Set>
       <Set name="copyWebDir">false</Set>
       <Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/etc/webdefault.xml</Set>
    
       <New class="org.eclipse.jetty.plus.jndi.EnvEntry">
         <Arg>/solr/home</Arg>
         <Arg type="java.lang.String"><SystemProperty name="jetty.home" default="."/>/webapps/solr/</Arg>
         <Arg type="java.lang.Boolean">true</Arg>
       </New>
    
     </Configure>
    

  2. Wiki Markup
    Copy solr.war to \[jetty.home\]/webapps. Manually unzip it there, you will have \[jetty.home\]/webapps/solr. Copy the conf folder (from the example folder that you download solr) to \[jetty.home\]/webapps/solr. Change all the config that you need in schema.xml and solrconfig.xml
    \\

...