Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The following POM file is configured to download and run the <a href="http://lucene.apache.org/solr/" rel="nofollow">Apache Solr</a> web application, using Jetty:</p> <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt; &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt; &lt;groupId&gt;com.myspotontheweb&lt;/groupId&gt; &lt;artifactId&gt;solr&lt;/artifactId&gt; &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt; &lt;packaging&gt;war&lt;/packaging&gt; &lt;dependencies&gt; &lt;dependency&gt; &lt;groupId&gt;org.apache.solr&lt;/groupId&gt; &lt;artifactId&gt;solr&lt;/artifactId&gt; &lt;version&gt;3.6.0&lt;/version&gt; &lt;type&gt;war&lt;/type&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.apache.solr&lt;/groupId&gt; &lt;artifactId&gt;solr-velocity&lt;/artifactId&gt; &lt;version&gt;3.6.0&lt;/version&gt; &lt;/dependency&gt; &lt;/dependencies&gt; &lt;build&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt; &lt;artifactId&gt;jetty-maven-plugin&lt;/artifactId&gt; &lt;version&gt;8.1.3.v20120416&lt;/version&gt; &lt;configuration&gt; &lt;systemProperties&gt; &lt;systemProperty&gt; &lt;name&gt;solr.solr.home&lt;/name&gt; &lt;value&gt;${basedir}/src/main/solr/home&lt;/value&gt; &lt;/systemProperty&gt; &lt;systemProperty&gt; &lt;name&gt;solr.data.dir&lt;/name&gt; &lt;value&gt;${project.build.directory}/solr/data&lt;/value&gt; &lt;/systemProperty&gt; &lt;/systemProperties&gt; &lt;/configuration&gt; &lt;executions&gt; &lt;execution&gt; &lt;phase&gt;compile&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;run-exploded&lt;/goal&gt; &lt;/goals&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/build&gt; &lt;/project&gt; </code></pre> <p>Application is launched from Maven as follows:</p> <pre><code>mvn compile </code></pre> <h1>For completeness</h1> <p><a href="http://lucene.apache.org/solr/" rel="nofollow">Solr</a> requires additional configuration files. See the doco for details.</p> <pre><code>$ tree . |-- pom.xml `-- src `-- main `-- solr `-- home `-- conf |-- admin-extra.html |-- elevate.xml |-- mapping-FoldToASCII.txt |-- mapping-ISOLatin1Accent.txt |-- protwords.txt |-- schema.xml |-- scripts.conf |-- solrconfig.xml |-- spellings.txt |-- stopwords_en.txt |-- stopwords.txt `-- synonyms.txt </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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