From eb897e53d0a328b2e8fcc42a9238beceeab45c46 Mon Sep 17 00:00:00 2001 From: "Chris M. Hostetter" Date: Fri, 1 Dec 2006 00:16:46 +0000 Subject: [PATCH] cleaning up the forms on index.jsp and form.jsp ... main motivation was to get rid of hte stylesheet param since it's pretty much worthless, but i also wanted to try and make the only options displayed on form.jsp things that were general enough to apply to any combination of request handler / response writer pair that comes out of the box ... i deliberatley didn't include all of the highlight and facet params however, because I wasworred that would make the page too cluttered. git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@481116 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 3 +- src/webapp/resources/admin/form.jsp | 45 +++++++++++++--------------- src/webapp/resources/admin/index.jsp | 20 ++----------- 3 files changed, 25 insertions(+), 43 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 6bc4f64c92e..50fd8541558 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -153,6 +153,7 @@ Other Changes 8. check solr return code in admin scripts, SOLR-62 9. Updated to Lucene 2.0 nightly build 2006-11-15, SVN revision 475069 10. Removed src/apps containing the legacy "SolrTest" app (hossman, SOLR-3) +11. Simplified index.jsp and form.jsp, primarily by removing/hiding XML + specific params, and adding an option to pick the output type. (hossman) - 2006/01/17 Solr open sourced, moves to Apache Incubator diff --git a/src/webapp/resources/admin/form.jsp b/src/webapp/resources/admin/form.jsp index b60669c8213..c6c612c0d7e 100644 --- a/src/webapp/resources/admin/form.jsp +++ b/src/webapp/resources/admin/form.jsp @@ -18,24 +18,22 @@ <%@include file="header.jsp" %>
-

/select mode

+
+ + + + - - - - - @@ -59,7 +57,7 @@ Fields to Return @@ -72,18 +70,10 @@ - - - - @@ -92,7 +82,7 @@ @@ -101,7 +91,7 @@ @@ -129,7 +119,12 @@
Solr/Lucene Statement - -
- Protocol Version - - +
- +
- Style Sheet + Output Type - -
- Indent XML - - +
- Note: do "view source" in your browser to see explain() correctly indented + Note: you may need to "view source" in your browser to see explain() correctly indented.
- apply original query scoring to matches of this query + Apply original query scoring to matches of this query to see how they compare.
- +
+ +This form demonstrates the most common query options available for the +built in Query Types. Please consult the Solr Wiki for additional +Query Parameters. + diff --git a/src/webapp/resources/admin/index.jsp b/src/webapp/resources/admin/index.jsp index 5a249a3a1c5..b6b7276c7cb 100644 --- a/src/webapp/resources/admin/index.jsp +++ b/src/webapp/resources/admin/index.jsp @@ -69,18 +69,6 @@ -

@@ -92,18 +80,16 @@

Make a Query

- - - [Full Interface] +[Full Interface] + - StyleSheet:
Query: + Query String:
-