Last active
August 29, 2015 14:05
-
-
Save sokil/96629d9e0a678bc2e8a1 to your computer and use it in GitHub Desktop.
Apache Solr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<schema name="symfony" version="1.0"> | |
<uniqueKey>id</uniqueKey> | |
<fieldType name="long" class="solr.TrieLongField" precisionStep="0" positionIncrementGap="0"/> | |
<fieldType name="string" class="solr.StrField" sortMissingLast="true" /> | |
<field name="_version_" type="long" indexed="true" stored="true"/> | |
<field name="_root_" type="string" indexed="true" stored="false"/> | |
<field name="id" type="string" indexed="true" stored="true" required="true" multiValued="false" /> | |
<field name="title" type="string" indexed="true" stored="true" multiValued="false"/> | |
<field name="text" type="string" indexed="true" stored="true" multiValued="false"/> | |
</schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<config> | |
<luceneMatchVersion>4.9</luceneMatchVersion> | |
<requestHandler name="/select" class="solr.SearchHandler"> | |
</requestHandler> | |
<requestHandler name="/admin/" class="solr.admin.AdminHandlers" /> | |
<requestHandler name="/admin/ping" class="solr.PingRequestHandler"> | |
<lst name="invariants"> | |
<str name="q">solrpingquery</str> | |
</lst> | |
<lst name="defaults"> | |
<str name="echoParams">all</str> | |
</lst> | |
<str name="healthcheckFile">server-enabled.txt</str> | |
</requestHandler> | |
<requestHandler name="/update" class="solr.UpdateRequestHandler" /> | |
<requestHandler name="/get" class="solr.RealTimeGetHandler"> | |
<lst name="defaults"> | |
<str name="omitHeader">true</str> | |
<str name="wt">json</str> | |
<str name="indent">true</str> | |
</lst> | |
</requestHandler> | |
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Context docBase="/usr/lib/solr/dist/solr-4.9.0.war" debug="0" crossContext="true"> | |
<Environment name="solr/home" type="java.lang.String" value="/usr/lib/solr/example/solr" override="true"/> | |
</Context> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<tomcat-users> | |
<role rolename="manager-gui"> | |
<user username="admin" password="admin" roles="manager-gui"> | |
</tomcat-users> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment