You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ds...@apache.org on 2012/02/24 07:58:50 UTC
svn commit: r1293105 - in /lucene/dev/branches/branch_3x/solr: CHANGES.txt
contrib/dataimporthandler/src/webapp/admin/dataimport.jsp
contrib/dataimporthandler/src/webapp/admin/debug.jsp
Author: dsmiley
Date: Fri Feb 24 06:58:50 2012
New Revision: 1293105
URL: http://svn.apache.org/viewvc?rev=1293105&view=rev
Log:
SOLR-3040 The DIH's admin UI (dataimport.jsp) now requires DIH request handlers to start with a '/'.
Modified:
lucene/dev/branches/branch_3x/solr/CHANGES.txt
lucene/dev/branches/branch_3x/solr/contrib/dataimporthandler/src/webapp/admin/dataimport.jsp
lucene/dev/branches/branch_3x/solr/contrib/dataimporthandler/src/webapp/admin/debug.jsp
Modified: lucene/dev/branches/branch_3x/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/CHANGES.txt?rev=1293105&r1=1293104&r2=1293105&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/CHANGES.txt (original)
+++ lucene/dev/branches/branch_3x/solr/CHANGES.txt Fri Feb 24 06:58:50 2012
@@ -35,6 +35,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
Modified: lucene/dev/branches/branch_3x/solr/contrib/dataimporthandler/src/webapp/admin/dataimport.jsp
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/contrib/dataimporthandler/src/webapp/admin/dataimport.jsp?rev=1293105&r1=1293104&r2=1293105&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/contrib/dataimporthandler/src/webapp/admin/dataimport.jsp (original)
+++ lucene/dev/branches/branch_3x/solr/contrib/dataimporthandler/src/webapp/admin/dataimport.jsp Fri Feb 24 06:58:50 2012
@@ -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>
Modified: lucene/dev/branches/branch_3x/solr/contrib/dataimporthandler/src/webapp/admin/debug.jsp
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/contrib/dataimporthandler/src/webapp/admin/debug.jsp?rev=1293105&r1=1293104&r2=1293105&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/contrib/dataimporthandler/src/webapp/admin/debug.jsp (original)
+++ lucene/dev/branches/branch_3x/solr/contrib/dataimporthandler/src/webapp/admin/debug.jsp Fri Feb 24 06:58:50 2012
@@ -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">