From cd3b0f0fd75dc112131b258da7dd3ff04630dbd3 Mon Sep 17 00:00:00 2001 From: "Chris M. Hostetter" Date: Thu, 22 May 2008 22:34:01 +0000 Subject: [PATCH] SOLR-518: Changed luke.xsl to use divs w/css for generating histograms instead of SVG ... also made some other small cleanup changes to luke.xsl git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@659287 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 3 + example/solr/conf/xslt/luke.xsl | 129 ++++++++++++++------------------ 2 files changed, 61 insertions(+), 71 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index c7bb47ca8c1..ef94cc2eced 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -455,6 +455,9 @@ Other Changes 13. Upgrade to Lucene 2.3.2 +14. SOLR-518: Changed luke.xsl to use div/css for generating histograms instead + of SVG (Thomas Peuss via 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: diff --git a/example/solr/conf/xslt/luke.xsl b/example/solr/conf/xslt/luke.xsl index cc21ee9b69f..6e9a064d7e0 100644 --- a/example/solr/conf/xslt/luke.xsl +++ b/example/solr/conf/xslt/luke.xsl @@ -20,12 +20,15 @@ - + @@ -35,12 +38,14 @@ + + + <xsl:value-of select="$title"/> - - +

@@ -56,8 +61,6 @@
  • Field Statistics -
  • -
    • @@ -77,11 +80,11 @@
    -

    Index statistics

    +

    Index Statistics

    -

    Field statistics

    +

    Field Statistics

    @@ -125,7 +128,7 @@ + test="@name='histogram'"> @@ -144,67 +147,61 @@
    - 5 - 5 + 50 800 - 600 + 160 blue
    - - + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - + - - - - + + - - - - -25 - 0 - - - - - - - - + - - + + +
    + +
    + background-color: ; width: px; height: px; +
    +
    + +
    @@ -328,23 +325,13 @@ - - - - namespace="svg" - implementation="#AdobeSVG" - -