mirror of https://github.com/apache/lucene.git
SOLR-636 - simplify example configs and make index.jsp links more resilient to configs loaded via an InputStream.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@683415 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dae5587a34
commit
f7291f6cd5
|
@ -576,6 +576,10 @@ Other Changes
|
|||
|
||||
19. Upgraded to Lucene 2.4-dev (r669476) to support SOLR-572 (gsingers)
|
||||
|
||||
20. SOLR-636: Improve/simplify example configs; and make index.jsp
|
||||
links more resilient to configs loaded via an InputStream
|
||||
(Lars Kotthoff, hossman)
|
||||
|
||||
Build
|
||||
1. SOLR-411. Changed the names of the Solr JARs to use the defacto standard JAR names based on
|
||||
project-name-version.jar. This yields, for example:
|
||||
|
|
|
@ -350,13 +350,7 @@
|
|||
<!-- CSV update handler, loaded on demand -->
|
||||
<requestHandler name="/update/csv" class="solr.CSVRequestHandler" startup="lazy" />
|
||||
|
||||
|
||||
<!-- Admin Handlers. TODO? There could be a single handler that loads them all... -->
|
||||
<requestHandler name="/admin/luke" class="org.apache.solr.handler.admin.LukeRequestHandler" />
|
||||
<requestHandler name="/admin/system" class="org.apache.solr.handler.admin.SystemInfoHandler" />
|
||||
<requestHandler name="/admin/plugins" class="org.apache.solr.handler.admin.PluginInfoHandler" />
|
||||
<requestHandler name="/admin/threads" class="org.apache.solr.handler.admin.ThreadDumpHandler" />
|
||||
<requestHandler name="/admin/properties" class="org.apache.solr.handler.admin.PropertiesRequestHandler" />
|
||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
||||
|
||||
<!-- Echo the request contents back to the client -->
|
||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||
|
@ -392,13 +386,6 @@
|
|||
<!-- config for the admin interface -->
|
||||
<admin>
|
||||
<defaultQuery>solr</defaultQuery>
|
||||
<gettableFiles>solrconfig.xml schema.xml admin-extra.html</gettableFiles>
|
||||
<!-- pingQuery should be "URLish" ...
|
||||
& separated key=val pairs ... but there shouldn't be any
|
||||
URL escaping of the values -->
|
||||
<pingQuery>
|
||||
qt=dismax&q=solr&start=3&fq=id:[* TO *]&fq=cat:[* TO *]
|
||||
</pingQuery>
|
||||
<!-- configure a healthcheck file for servers behind a loadbalancer
|
||||
<healthcheck type="file">server-enabled</healthcheck>
|
||||
-->
|
||||
|
|
|
@ -332,13 +332,7 @@
|
|||
<!-- CSV update handler, loaded on demand -->
|
||||
<requestHandler name="/update/csv" class="solr.CSVRequestHandler" startup="lazy" />
|
||||
|
||||
|
||||
<!-- Admin Handlers. TODO? There could be a single handler that loads them all... -->
|
||||
<requestHandler name="/admin/luke" class="org.apache.solr.handler.admin.LukeRequestHandler" />
|
||||
<requestHandler name="/admin/system" class="org.apache.solr.handler.admin.SystemInfoHandler" />
|
||||
<requestHandler name="/admin/plugins" class="org.apache.solr.handler.admin.PluginInfoHandler" />
|
||||
<requestHandler name="/admin/threads" class="org.apache.solr.handler.admin.ThreadDumpHandler" />
|
||||
<requestHandler name="/admin/properties" class="org.apache.solr.handler.admin.PropertiesRequestHandler" />
|
||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
||||
|
||||
<!-- Echo the request contents back to the client -->
|
||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||
|
@ -374,13 +368,6 @@
|
|||
<!-- config for the admin interface -->
|
||||
<admin>
|
||||
<defaultQuery>solr</defaultQuery>
|
||||
<gettableFiles>solrconfig.xml schema.xml admin-extra.html</gettableFiles>
|
||||
<!-- pingQuery should be "URLish" ...
|
||||
& separated key=val pairs ... but there shouldn't be any
|
||||
URL escaping of the values -->
|
||||
<pingQuery>
|
||||
qt=dismax&q=solr&start=3&fq=id:[* TO *]&fq=cat:[* TO *]
|
||||
</pingQuery>
|
||||
<!-- configure a healthcheck file for servers behind a loadbalancer
|
||||
<healthcheck type="file">server-enabled</healthcheck>
|
||||
-->
|
||||
|
|
|
@ -29,15 +29,11 @@
|
|||
|
||||
<requestHandler name="standard" class="solr.StandardRequestHandler" default="true" />
|
||||
<requestHandler name="/update" class="solr.XmlUpdateRequestHandler" />
|
||||
<requestHandler name="/admin/luke" class="org.apache.solr.handler.admin.LukeRequestHandler" />
|
||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
||||
|
||||
<!-- config for the admin interface -->
|
||||
<admin>
|
||||
<defaultQuery>solr</defaultQuery>
|
||||
<gettableFiles>solrconfig.xml schema.xml admin-extra.html</gettableFiles>
|
||||
<pingQuery>
|
||||
qt=standard&q=solrpingquery
|
||||
</pingQuery>
|
||||
</admin>
|
||||
|
||||
</config>
|
||||
|
|
|
@ -29,15 +29,11 @@
|
|||
|
||||
<requestHandler name="standard" class="solr.StandardRequestHandler" default="true" />
|
||||
<requestHandler name="/update" class="solr.XmlUpdateRequestHandler" />
|
||||
<requestHandler name="/admin/luke" class="org.apache.solr.handler.admin.LukeRequestHandler" />
|
||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
||||
|
||||
<!-- config for the admin interface -->
|
||||
<admin>
|
||||
<defaultQuery>solr</defaultQuery>
|
||||
<gettableFiles>solrconfig.xml schema.xml admin-extra.html</gettableFiles>
|
||||
<pingQuery>
|
||||
qt=standard&q=solrpingquery
|
||||
</pingQuery>
|
||||
</admin>
|
||||
|
||||
</config>
|
||||
|
|
|
@ -34,8 +34,12 @@
|
|||
<h3>Solr</h3>
|
||||
</td>
|
||||
<td>
|
||||
[<a href="file/?file=<%=core.getSchemaFile()%>">Schema</a>]
|
||||
[<a href="file/?file=<%=core.getConfigFile()%>">Config</a>]
|
||||
<% if (null != core.getSchemaResource()) { %>
|
||||
[<a href="file/?file=<%=core.getSchemaResource()%>">Schema</a>]
|
||||
<% }
|
||||
if (null != core.getConfigResource()) { %>
|
||||
[<a href="file/?file=<%=core.getConfigResource()%>">Config</a>]
|
||||
<% } %>
|
||||
[<a href="analysis.jsp?highlight=on">Analysis</a>]
|
||||
[<a href="schema.jsp">Schema Browser</a>]
|
||||
<br>
|
||||
|
|
Loading…
Reference in New Issue