From cc7675278e7f69cfc69e886d96f6cf5f1b8953be Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Mon, 17 Nov 2008 22:50:23 +0000 Subject: [PATCH] SOLR-868 -- adding some missing files. add "dist" to ignore list git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@718423 13f79535-47bb-0310-9956-ffa450edef68 --- .../testsolr/solr/conf/xslt/example.xsl | 132 +++++++ .../testsolr/solr/conf/xslt/example_atom.xsl | 67 ++++ .../testsolr/solr/conf/xslt/example_rss.xsl | 66 ++++ .../example/testsolr/solr/conf/xslt/luke.xsl | 337 ++++++++++++++++++ 4 files changed, 602 insertions(+) create mode 100644 contrib/javascript/example/testsolr/solr/conf/xslt/example.xsl create mode 100644 contrib/javascript/example/testsolr/solr/conf/xslt/example_atom.xsl create mode 100644 contrib/javascript/example/testsolr/solr/conf/xslt/example_rss.xsl create mode 100644 contrib/javascript/example/testsolr/solr/conf/xslt/luke.xsl diff --git a/contrib/javascript/example/testsolr/solr/conf/xslt/example.xsl b/contrib/javascript/example/testsolr/solr/conf/xslt/example.xsl new file mode 100644 index 00000000000..6832a1d4cb3 --- /dev/null +++ b/contrib/javascript/example/testsolr/solr/conf/xslt/example.xsl @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + <xsl:value-of select="$title"/> + + + +

+
+ This has been formatted by the sample "example.xsl" transform - + use your own XSLT to get a nicer page +
+ + + +
+ + + +
+ + + + +
+
+
+ + + + + + + + + + + + + + javascript:toggle("");? +
+ + exp + + + + + +
+ + +
+ + + + + + + +
    + +
  • +
    +
+ + +
+ + + + + + + + + + + + + + + + + + + + +
diff --git a/contrib/javascript/example/testsolr/solr/conf/xslt/example_atom.xsl b/contrib/javascript/example/testsolr/solr/conf/xslt/example_atom.xsl new file mode 100644 index 00000000000..e1c7d5a2af2 --- /dev/null +++ b/contrib/javascript/example/testsolr/solr/conf/xslt/example_atom.xsl @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + Example Solr Atom 1.0 Feed + + This has been formatted by the sample "example_atom.xsl" transform - + use your own XSLT to get a nicer Atom feed. + + + Apache Solr + solr-user@lucene.apache.org + + + + + + tag:localhost,2007:example + + + + + + + + + <xsl:value-of select="str[@name='name']"/> + + tag:localhost,2007: + + + + + + diff --git a/contrib/javascript/example/testsolr/solr/conf/xslt/example_rss.xsl b/contrib/javascript/example/testsolr/solr/conf/xslt/example_rss.xsl new file mode 100644 index 00000000000..3e09e654d5f --- /dev/null +++ b/contrib/javascript/example/testsolr/solr/conf/xslt/example_rss.xsl @@ -0,0 +1,66 @@ + + + + + + + + + + + + + Example Solr RSS 2.0 Feed + http://localhost:8983/solr + + This has been formatted by the sample "example_rss.xsl" transform - + use your own XSLT to get a nicer RSS feed. + + en-us + http://localhost:8983/solr + + + + + + + + + + + <xsl:value-of select="str[@name='name']"/> + + http://localhost:8983/solr/select?q=id: + + + + + + + http://localhost:8983/solr/select?q=id: + + + + diff --git a/contrib/javascript/example/testsolr/solr/conf/xslt/luke.xsl b/contrib/javascript/example/testsolr/solr/conf/xslt/luke.xsl new file mode 100644 index 00000000000..6e9a064d7e0 --- /dev/null +++ b/contrib/javascript/example/testsolr/solr/conf/xslt/luke.xsl @@ -0,0 +1,337 @@ + + + + + + + + + Solr Luke Request Handler Response + + + + + + + + + <xsl:value-of select="$title"/> + + + + + +

+ +

+
+ +
+ +

Index Statistics

+ +
+ +

Field Statistics

+ + + +

Document statistics

+ + + + +
+ + + + + +
+ +
+ + +
+ +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+

+ +

+ +
+ +
+
+
+ + +
+ + 50 + 800 + 160 + blue + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ background-color: ; width: px; height: px; +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
  • + +
  • +
    +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + + + + + + + + + + + + + + + + +