You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2011/01/19 23:33:28 UTC

svn commit: r1061035 - /lucene/dev/branches/branch_3x/solr/src/webapp/web/admin/analysis.jsp

Author: uschindler
Date: Wed Jan 19 22:33:28 2011
New Revision: 1061035

URL: http://svn.apache.org/viewvc?rev=1061035&view=rev
Log:
LUCENE-2374: Minor updates to make analysis.jsp compatible to Solr 1.4

Modified:
    lucene/dev/branches/branch_3x/solr/src/webapp/web/admin/analysis.jsp

Modified: lucene/dev/branches/branch_3x/solr/src/webapp/web/admin/analysis.jsp
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/src/webapp/web/admin/analysis.jsp?rev=1061035&r1=1061034&r2=1061035&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/src/webapp/web/admin/analysis.jsp (original)
+++ lucene/dev/branches/branch_3x/solr/src/webapp/web/admin/analysis.jsp Wed Jan 19 22:33:28 2011
@@ -418,22 +418,22 @@
       },false,verbose,null);
     }
 
-    printRow(out, "term", CharTermAttribute.class.getName(), arr, new TokToStr() {
+    printRow(out, "term text", CharTermAttribute.class.getName(), arr, new TokToStr() {
       public String toStr(Tok t) {
         return ft.indexedToReadable(t.term);
       }
     },true,verbose,match);
 
-    if (needRaw && verbose) {
-      printRow(out, "raw term", CharTermAttribute.class.getName(), arr, new TokToStr() {
-      public String toStr(Tok t) {
-          // page is UTF-8, so anything goes.
-          return t.term;
-        }
-      },true,verbose,match);
-    }
-
     if (verbose) {
+      if (needRaw) {
+        printRow(out, "raw text", CharTermAttribute.class.getName(), arr, new TokToStr() {
+        public String toStr(Tok t) {
+            // page is UTF-8, so anything goes.
+            return t.term;
+          }
+        },true,verbose,match);
+      }
+
       for (int att=0; att < reflectionCount; att++) {
         final ReflectItem item0 = arr[0].get(0).reflected.get(att);
         final int i = att;