SOLR-3040 The DIH's admin UI (dataimport.jsp) now requires DIH request handlers to start with a '/'.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293102 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David Wayne Smiley 2012-02-24 06:47:43 +00:00
parent b7fa7354fc
commit effbca10e2
3 changed files with 8 additions and 8 deletions

View File

@ -453,6 +453,9 @@ Upgrading from Solr 3.5
HTMLStripCharFilter in Solr version 3.5 and earlier: the old implementation
(bugs and all) is preserved as LegacyHTMLStripCharFilter.
* SOLR-3040: The DIH's admin UI (dataimport.jsp) now requires DIH request handlers to start with
a '/'. (dsmiley)
New Features
----------------------
* SOLR-2904: BinaryUpdateRequestHandler should be able to accept multiple update requests from

View File

@ -47,7 +47,7 @@ Select handler:
<frameset cols = "50%, 50%">
<frame src ="debug.jsp?handler=<%=handler%>" />
<frame src ="../select?qt=<%=handler%>&command=status" name="result"/>
<frame src ="..<%=handler%>?command=status" name="result"/>
</frameset>
<% } %>
</html>

View File

@ -30,9 +30,8 @@
<%
String handler = request.getParameter("handler"); // must be specified
%>
<form action="../select" target="result" method="get">
<form action="..<%=handler%>" target="result" method="get">
<input type="hidden" name="debug" value="on"/>
<input type="hidden" name="qt" value="<%=handler%>"/>
<table>
<tr>
<th>Handler: </th>
@ -69,17 +68,16 @@
<tr>
<td colspan="2"><textarea id="txtDataConfig" rows="30" cols="80" name="dataConfig"></textarea></td>
<script type="text/javascript" language="javascript">
$.get("../select?qt=<%=handler%>&command=show-config", function(data){
$.get("..<%=handler%>?command=show-config", function(data){
$('#txtDataConfig').attr('value', data);
});
</script>
</tr>
</table>
</form>
<form action="../select" target="result" method="get">
<form action="..<%=handler%>" target="result" method="get">
<input type="hidden" name="clean" value="false">
<input type="hidden" name="commit" value="true">
<input type="hidden" name="qt" value="<%=handler%>"/>
<input class="stdbutton" type="submit" name="command" value="full-import">
<input class="stdbutton" type="submit" name="command" value="delta-import">
<input class="stdbutton" type="submit" name="command" value="status">
@ -92,8 +90,7 @@
<input type="hidden" name="rows" value="0">
<input class="stdbutton" type="submit" value="Documents Count">
</form>
<form action="../select" target="result" method="get">
<input type="hidden" name="qt" value="<%=handler%>"/>
<form action="..<%=handler%>" target="result" method="get">
<input type="hidden" name="verbose" value="true">
<input type="hidden" name="clean" value="true">
<input type="hidden" name="commit" value="true">