You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by gs...@apache.org on 2011/08/10 15:21:28 UTC

svn commit: r1156169 - in /lucene/cms/trunk: content/lucene/css/ content/lucene/openrelevance/ content/lucene/pylucene/ lib/ templates/

Author: gsingers
Date: Wed Aug 10 13:21:27 2011
New Revision: 1156169

URL: http://svn.apache.org/viewvc?rev=1156169&view=rev
Log:
LUCENE-2748: ported PyLucene and ORP, still needs some cleanup

Added:
    lucene/cms/trunk/content/lucene/css/orp.css
      - copied, changed from r1155009, lucene/cms/trunk/content/lucene/css/solr.css
    lucene/cms/trunk/content/lucene/css/pylucene.css
    lucene/cms/trunk/content/lucene/openrelevance/index.mdtext
    lucene/cms/trunk/content/lucene/openrelevance/mailing-lists.mdtext
      - copied, changed from r1155009, lucene/cms/trunk/content/lucene/core/mailing-lists.mdtext
    lucene/cms/trunk/content/lucene/openrelevance/orpnews.mdtext
    lucene/cms/trunk/content/lucene/pylucene/features.mdtext
    lucene/cms/trunk/content/lucene/pylucene/index.mdtext
    lucene/cms/trunk/content/lucene/pylucene/install.mdtext
    lucene/cms/trunk/content/lucene/pylucene/mailing-lists.mdtext
    lucene/cms/trunk/content/lucene/pylucene/pynews.mdtext
    lucene/cms/trunk/templates/openrelevance.html
      - copied, changed from r1156116, lucene/cms/trunk/templates/solr.html
    lucene/cms/trunk/templates/orpnav.mdtext
      - copied, changed from r1155009, lucene/cms/trunk/templates/solrnav.mdtext
    lucene/cms/trunk/templates/pylucene.html
    lucene/cms/trunk/templates/pynav.mdtext
Modified:
    lucene/cms/trunk/lib/path.pm
    lucene/cms/trunk/templates/main.html
    lucene/cms/trunk/templates/simple.html

Copied: lucene/cms/trunk/content/lucene/css/orp.css (from r1155009, lucene/cms/trunk/content/lucene/css/solr.css)
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/css/orp.css?p2=lucene/cms/trunk/content/lucene/css/orp.css&p1=lucene/cms/trunk/content/lucene/css/solr.css&r1=1155009&r2=1156169&rev=1156169&view=diff
==============================================================================
--- lucene/cms/trunk/content/lucene/css/solr.css (original)
+++ lucene/cms/trunk/content/lucene/css/orp.css Wed Aug 10 13:21:27 2011
@@ -759,7 +759,7 @@ body#home #wrap {
 body#home #header {
 	position: relative;
 	width: 945px;
-	height: 403px;
+	height: 130px;
 	padding: 0;
 	margin: 0 auto;
 	background: transparent;
@@ -770,13 +770,11 @@ body#home #header #slides {
 	top: 148px;
 	left: 0px;
 	width: 945px;
-	height: 260px;
     background-color: #C4E0BA;
 }
 
 body#home #header #slides .slideshow {
 	width:945px;
-	height:260px;
 	margin:0px;
 	padding:0px;
 }

Added: lucene/cms/trunk/content/lucene/css/pylucene.css
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/css/pylucene.css?rev=1156169&view=auto
==============================================================================
--- lucene/cms/trunk/content/lucene/css/pylucene.css (added)
+++ lucene/cms/trunk/content/lucene/css/pylucene.css Wed Aug 10 13:21:27 2011
@@ -0,0 +1,918 @@
+/********************************** 
+ The Apache Software Foundation
+
+Derived from: Open for Business Project Website
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+*********************************/ 
+
+/********************************
+ Global Reset
+********************************/
+html, body, div, span, applet, object, iframe,
+h1, h2, h2, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, font, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td {
+    border:0;
+    margin:0;
+    outline:0;
+    padding:0;
+    background:transparent;
+    vertical-align: baseline;
+}
+
+blockquote, q {
+    quotes: none;
+}
+
+blockquote:before,
+blockquote:after,
+q:before,
+q:after {
+    content:'';
+    content: none;
+}
+
+a, address, body, caption, cite, code, dfn, em, strong, th, var {
+    font-style: normal;
+    font-weight: normal;
+    text-decoration: none;
+}
+
+a img {
+    border: none;
+}
+
+ol, ul {
+    list-style: none;
+}
+
+table {
+    border-collapse: collapse;
+    border-spacing: 0;
+}
+
+/********************************
+ General Layout
+********************************/
+* {margin:0;padding:0;}
+
+html, body, #wrap {height: 100%;}
+
+body > #wrap {height: auto; min-height: 100%;}
+
+body {
+    font: 11px/ 165% "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif;
+	color: #666666;
+	margin: 0;
+	padding: 0;
+	background: url(../images/bg.png) top left repeat-x #A6A6A6;
+	text-align: center;
+}
+
+.clearfix:after {
+    content: ".";
+    display: block;
+    height: 0;
+    clear: both;
+    visibility: hidden;
+}
+
+.clearfix {
+    display: inline-block;
+}
+
+html[xmlns] .clearfix {
+    display: block;
+}
+
+* html .clearfix {
+    height: 1%;
+}
+
+.clearfix {
+    display: block;
+}
+
+.clearLeft {
+    clear:left;
+}
+
+/********************************
+ Typography
+********************************/
+a,a:active,a:link {
+	text-decoration: none;
+	color: #29456b;
+}
+
+a:visited {
+	text-decoration: none;
+}
+
+a:hover {
+	color: #030d1c;
+}
+
+h1,h2,h2 {
+	font-family: "Trebuchet MS", Tahoma, Arial, Sans-serif;
+	color: #555;
+}
+
+h1 {
+  	font-size: 200%;
+	color: #895F30;
+	padding: 20px 10px 5px 10px;
+	margin: 0;
+}
+
+h2 {
+	font-size: 170%;
+	font-weight: normal;
+	padding: 20px 10px 5px 10px;
+	margin: 0;
+}
+
+p,dl {
+	padding: 10px;
+	margin: 0;
+}
+
+ul{
+	margin: 10px 10px;
+	padding: 0 0 0 10px;
+}
+
+ul {
+	list-style: none;
+}
+
+ol {
+	margin: 10px 30px;
+	padding: 0;
+}
+
+dt {
+	font-weight: bold;
+	color: #b13f1a;
+}
+
+dd {
+	padding-left: 25px;
+}
+
+/********************************
+ ../images
+********************************/
+img {
+    border: none;
+}
+
+p img {
+    background: #fafafa;
+       border: 1px solid #dcdcdc;
+    padding: 5px;
+    margin:0 10px 0 0;
+}
+
+img.float-right {
+    margin: 5px 0px 10px 10px;
+}
+
+img.float-left {
+    margin: 5px 10px 10px 0px;
+}
+
+/********************************
+ Code Snippets and Quotes
+********************************/
+code {
+    margin: 5px 0;
+    padding: 15px;
+    text-align: left;
+    display: block;
+    overflow: auto;
+    font: 500 1em/ 1.5em 'Lucida Console', 'courier new', monospace;
+    /* white-space: pre; */
+    border: 1px solid #ECF8FE;
+    background: #ECF8FE;
+}
+
+acronym {
+    cursor: help;
+    border-bottom: 1px dotted #895F30;
+}
+
+blockquote {
+    margin: 15px 10px;
+    padding: 10px 10px 10px 35px;
+    border: 1px solid #ECF8FE;
+    background: #ECF8FE url(../images/quote.jpg) no-repeat 10px 10px;
+    font-weight: normal;
+    font-size: 1.5em;
+    line-height: 1.5em;
+    font-style: italic;
+    font-family: "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif;
+    color: #976957;
+}
+
+/********************************
+ Tables
+********************************/
+table {
+	border-collapse: collapse;
+	margin: 15px 10px;
+}
+
+th {
+	background: #d14b1f url(../images/header-bg.jpg) repeat-x 0 -100px;
+	height: 38px;
+	padding-left: 12px;
+	padding-right: 12px;
+	color: #fff;
+	text-align: left;
+	border-left: 1px solid #d14b1f;
+	border-bottom: solid 2px #fff;
+}
+
+tr {
+	height: 34px;
+}
+
+td {
+	padding-left: 11px;
+	padding-right: 11px;
+}
+
+/********************************
+ Forms
+********************************/
+input,select {
+    padding: 4px;
+    font: normal 1em Verdana, sans-serif;
+    color: #666666;
+    background: #fff;
+}
+
+textarea {
+    width: 400px;
+    padding: 4px;
+    font: normal 1em Verdana, sans-serif;
+    height: 100px;
+    display: block;
+    color: #666666;
+}
+
+input,textarea,select {
+    background: #fff;
+    border-width: 1px;
+    border-style: solid;
+    border-color: #D4D4D4 #ebebeb #ebebeb #d4d4d4;
+}
+
+input.button {
+    font: bold 12px Arial, Sans-serif;
+    height: 30px;
+    margin: 0;
+    padding: 2px 3px;
+    color: #555;
+    background: #E6E6E6;
+    border-width: 1px;
+    border-style: solid;
+    border-color: #ebebeb #d4d4d4 #d4d4d4 #ebebeb;
+}
+
+/********************************
+ Generic Classes
+********************************/
+.float-left {
+    float: left;
+}
+
+.float-right {
+    float: right;
+}
+
+.align-left {
+    text-align: left;
+}
+
+.align-right {
+    text-align: right;
+}
+
+.clearer {
+    clear: both;
+}
+
+/********************************
+ Page Layout
+********************************/
+#wrap{
+    background: #fff url(../images/wrapper.jpg) top center no-repeat;
+    width: 945px;
+	margin: 0 auto;
+    text-align:left;
+}
+
+#content-wrap  {
+    width:945px;
+	margin:0 auto;
+    padding-bottom: 42px;
+}
+
+#content {
+    width:500px;
+	float:left;
+	padding:30px 0 25px 0;
+}
+
+/********************************
+ Footer
+********************************/
+#footer {
+    background: url(../images/footer.jpg) bottom center no-repeat;
+    position: relative;
+	margin: -50px auto 0px auto;
+	height: 50px;
+	clear:both;
+	font-size:11px;
+	font-family:Verdana, Arial, sans-serif;
+    width:945px;
+    border-top: 1px solid #eee;
+}
+
+#foot {
+    text-align:left;
+    position:relative;
+    top:5px;
+    left:30px;
+}
+
+/********************************
+ Header
+********************************/
+#header {
+    position: relative;
+    width: 945px;
+    height: 100px;
+    padding: 0;
+    margin: 0 auto;
+    background: transparent;
+}
+
+#header #logo {
+    position: absolute;
+    top: 15px;
+    left: 20px;
+    height: 42px;
+    width: 405px;
+}
+
+#header #logo a,img {
+    background: none;
+    border: none;
+}
+
+#header #controls {
+    position: absolute;
+    top: 60px;
+    right: 32px;
+    height: 42px;
+    color: #1b78d7;
+    font-size: 12px;
+    background: url(../images/house.gif) top right no-repeat;
+    padding-right: 20px;
+    text-align: right;
+}
+
+#header #controls a {
+    position: relative;
+    top: -2px;
+}
+
+#header #language {
+    position: absolute;
+    top: 10px;
+    right: 32px;
+    height: 42px;
+    color: #797c7e;
+    text-align: right;
+}
+
+/********************************
+ Search
+********************************/
+#search {
+    position:absolute;
+    top:0px;
+    right:0px;
+    background:url(../images/search.gif) center left no-repeat;
+	padding:5px;
+	padding-top:4px;
+    padding-left:33px;
+	border-radius:3px;
+	background-color:#444;
+}
+
+.hintText {
+      display: none;
+}
+
+.fieldWithHint {
+      color: #001f2f;
+}
+
+/********************************
+ Top Navigation
+********************************/
+#nav {
+    position: absolute;
+    clear: both;
+    margin: 0;
+    padding: 0;
+	padding-right:5px;
+	padding-left:5px;
+	right:0px;
+    height: 34px;
+    top: 114px;
+	border-radius:3px;
+    z-index: 99999;
+	background-color:#444;
+}
+
+#nav ul {
+    float: left;
+    list-style: none;
+    height: 34px;
+    margin: 0;
+    padding: 0;
+    display: inline;
+}
+
+#nav ul li {
+    display: inline;
+    margin: 0;
+    padding: 0;
+}
+
+#nav ul li a {
+    float: left;
+    margin: 0 0 0 0;
+    padding: 0px 15px 0px 15px;
+    font: normal 14px/ 34px "Trebuchet MS", Helvetica, Arial, Geneva, sans-serif;
+    font-variant: small-caps;
+    text-decoration: none;
+    letter-spacing: 0.0px;
+    color: #fff;
+	border-right:1px inset #888;
+}
+
+#nav ul li a.last {
+	border:none;
+}
+
+#nav ul li a:hover,#nav ul li a:active {
+    color: #111;
+    background-image: url(../images/header_hot.jpg);
+}
+
+#nav ul li#current a {
+    color: #333333;
+    background-image: url(../images/header_hot.jpg);
+}
+
+/********************************
+ Content Sections
+********************************/
+#main {
+    float: left;
+    width: 560px;
+    padding: 0;
+    margin: 0 0 0 20px;
+    display: inline;
+}
+
+#main h1 {
+	padding-bottom: 3px;
+	margin-top: 15px;
+	font: normal 3.5em "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif;
+	color: #333;
+	letter-spacing: -2px;
+	text-transform: none;
+	border-bottom: 1px solid #ebebeb;
+}
+
+#main h1 a {
+	color: #333;
+	text-decoration: none;
+	background: none;
+	border: none;
+}
+
+#main ul li {
+    list-style-image: url(../images/bullet.gif);
+}
+
+#col1 {
+    float: left;
+    width: 260px;
+    padding: 0;
+    margin: 20px 0 0 20px;
+    display: inline;
+}
+
+#col2 {
+    float: left;
+    width: 260px;
+    padding: 0;
+    margin: 20px 0 0 20px;
+    display: inline;
+}
+
+#col1 h1, #col2 h1 {
+    padding-bottom: 3px;
+    margin-top: 15px;
+    font: normal 3.5em "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif;
+    color: #666;
+    letter-spacing: -2px;
+    text-transform: none;
+    border-bottom: 1px solid #ebebeb;
+}
+
+#main #col1 h1, #main #col2 h1 {
+	border-bottom: 1px solid #ebebeb;
+	color:#304C70;
+	padding-bottom: 3px;
+	letter-spacing: -3px;
+	text-transform: none;
+	font-size:30px;
+}
+
+.feature {
+	margin:0px;
+	padding:0px;
+	height:435px;
+}
+
+.screen {
+	margin:10px 0 5px 0;
+	padding:0px;
+	background:#fff;
+	border:1px solid #eee;
+	width:255px;
+	height:200px;
+	overflow:hidden;
+}
+
+#main .hero {
+	margin:10px 0 5px 0;
+	padding:0px;
+	background:#fff;
+	border:1px solid #eee;
+	width:555px;
+}
+
+#main .highlights {
+	float:right;
+	width:240px;
+	background:#dfe9ef;
+	border:1px solid #eee;
+	margin:0px 10px 0px 5px;
+	display:inline;
+}
+
+#main .highlights ul li {
+    list-style-image: url(../images/highlight-bullet.gif);
+}
+
+#main .highlights h4 {
+	padding:5px 5px 0 5px;
+}
+
+#sidebar {
+    float: right;
+    width: 300px;
+    padding: 0;
+    margin: 15px 20px 0 0;
+    display: inline;
+}
+
+#sidebar h2 {
+    margin-top: 10px;
+    padding: 15px 5px 3px 5px;
+    font: normal 2em 'trebuchet MS', Tahoma, Helvetica, Arial, sans-serif;
+    color: #666666;
+    letter-spacing: -.5px;
+}
+
+#sidebar ul.sidemenu {
+    text-align: left;
+    margin: 0px 5px 8px 0px;
+    padding: 5px 0 0 0;
+    text-decoration: none;
+    background: url(../images/dots.gif) repeat-x left top;
+}
+
+#sidebar ul.sidemenu li {
+    list-style: none;
+    background: url(dots.gif) repeat-x left bottom;
+    padding: 4px 10px;
+    margin: 0;
+}
+
+* html body #sidebar ul.sidemenu li {
+    height: 1%;
+}
+
+#sidebar ul.sidemenu li a {
+    text-decoration: none;
+    background-image: none;
+    background-color: transparent;
+    border: none;
+    color: #304c70;
+    font-weight: bold;
+    font-family: "Trebuchet MS", Tahoma, Helvetica, Arial, Sans-serif;
+    font-size: 14px;
+    /* letter-spacing: .5px;  */
+}
+
+#sidebar ul.sidemenu li a span {
+    color: #989898;
+    font-family: Georgia, "Times New Roman", Times, serif;
+    font-style: italic;
+    font-weight: normal;
+    font-size: .8em;
+}
+
+#sidebar ul.sidemenu li a:hover {
+    color: #555;
+}
+
+#sidebar ul.sidemenu ul {
+    margin: 0 0 0 5px;
+    padding: 0;
+}
+
+#sidebar ul.sidemenu ul li {
+    background: none;
+}
+
+#sidebar .indentfirst {
+    margin-left:0px;
+}
+
+#sidebar .indentsecond {
+    margin-left:20px;
+}
+
+/********************************
+ Content Styles
+********************************/
+.postmeta {
+    padding: 5px;
+    margin: 20px 10px 15px 10px;
+    font-size: 1em;
+    color: #777;
+    border: 1px solid #ECF8FE;
+    background: #ECF8FE;
+}
+
+.postmeta .date {
+    margin: 0 10px 0 5px;
+}
+
+.postmeta a.comments {
+    margin: 0 10px 0 5px;
+}
+
+.postmeta a.readmore {
+    margin: 0 10px 0 5px;
+}
+
+.post-info {
+    font-size: .95em;
+    padding-top: 3px;
+    margin-left: 5px;
+    color: #bababa;
+}
+
+.post-info a {
+    color: #C5935C;
+}
+
+p.thumbs {
+    padding: 12px 0 0 10px;
+}
+
+.thumbs img {
+    position: relative;
+    border: 1px solid #ebebeb;
+    background: none;
+    padding: 4px;
+    margin: 5px;
+    /* margin: 4px 7px 4px 4px; */
+}
+
+.thumbs img:hover {
+    border: 1px solid #c5c5c5;
+    background: none;
+}
+
+.thumbs a:hover {
+    background-color: transparent;
+    border: none
+}
+
+/********************************
+ Page Specific Styles
+********************************/
+/*HOME*/
+body#home #wrap {
+	position: relative;
+	background: #fff url(../images/home-wrapper.png) top center no-repeat;
+	width: 945px;
+	margin: 0 auto;
+	text-align: left;
+}
+
+body#home #header {
+	position: relative;
+	width: 945px;
+	height: 130px;
+	padding: 0;
+	margin: 0 auto;
+	background: transparent;
+}
+
+body#home #header #slides {
+	position: absolute;
+	top: 148px;
+	left: 0px;
+	width: 945px;
+    background-color: #C4E0BA;
+}
+
+body#home #header #slides .slideshow {
+	width:945px;
+	margin:0px;
+	padding:0px;
+}
+
+body#home #header #slides .callout {
+	position: absolute;
+	top: 35px;
+	left: 30px;
+	font-size: 30px;
+	line-height: 30px;
+	color: #2b1f48;
+}
+
+body#home #header #slides .descwrapper {
+	position: absolute;
+	top: 175px;
+	font-size: 14px;
+	line-height: 15px;
+    background-color: #2B2A38;
+	width: 945px;
+    height: 85px;
+}
+
+body#home #header #slides .description {
+	position: absolute;
+	top: 175px;
+	left: 30px;
+	font-size: 14px;
+	line-height: 15px;
+	color: #e0e0e0;
+	width: 350px;
+}
+
+body#home #header #slides .descwrapper .description {
+	position: relative;
+	top: 15px;
+	left: 10px;
+	font-size: 14px;
+	line-height: 15px;
+	color: #e0e0e0;
+	width: 350px;
+}
+
+body#home #header #slides .controls {
+	width: 100px;
+	position: absolute;
+	top: 15px;
+	left: 750px;
+	height:30px;
+}
+
+body#home #header #slides .controls a {
+	border: none;
+	position:absolute;
+	height:30px;
+	line-height:24px;
+	padding:5px;
+	text-indent:-9999px;
+	outline:none;
+}
+
+body#home #header #slides .controls a.previous {
+	background: url(../images/backward.gif) top center no-repeat;
+	left:0px;
+	height:30px;
+	width:16px;
+}
+
+body#home #header #slides .controls a.next {
+	background: url(../images/forward.gif) top center no-repeat;
+	left:60px;
+	height:30px;
+	width:16px;
+}
+
+body#home #header #slides .controls a.stop {
+	background: url(../images/pause.gif) top center no-repeat;
+	left:30px;
+	height:30px;
+	width:16px;
+}
+
+body#home #header #slides .controls a.start {
+	background: url(../images/start.gif) top center no-repeat;
+	left:30px;
+	height:30px;
+	width:16px;
+}
+
+body#home #header #slides .controls a img {
+	background: none;
+	border: none;
+	cursor: pointer;
+}
+
+body#home #header #slides .mantle{
+	position:absolute;
+	top:58px;
+	left:385px;
+}
+
+body#home #col1 {
+	float: left;
+	width: 260px;
+	padding: 0;
+	margin: 5px 0 0 0px;
+	display: inline;
+}
+
+body#home #col2 {
+	float: left;
+	width: 260px;
+	padding: 0;
+	margin: 5px 0 0 20px;
+	display: inline;
+}
+
+.downloadNow {
+	margin:30px 0 10px 0;
+}
+
+.downloadLinks span.docs {
+	float:left;
+	margin:0px 0px 0 0;
+	display:inline;
+}
+
+.downloadLinks span.previousVersions {
+	float:right;
+	margin:0px 20px 0 0;
+	display:inline;
+}
+
+/*SUBPAGE - NO SIDEBAR*/
+body#full #wrap {
+	position: relative;
+	background: #fff url(../images/full-wrapper.jpg) top center no-repeat;
+	width: 945px;
+	margin: 0 auto;
+	text-align: left;
+}
\ No newline at end of file

Added: lucene/cms/trunk/content/lucene/openrelevance/index.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/openrelevance/index.mdtext?rev=1156169&view=auto
==============================================================================
--- lucene/cms/trunk/content/lucene/openrelevance/index.mdtext (added)
+++ lucene/cms/trunk/content/lucene/openrelevance/index.mdtext Wed Aug 10 13:21:27 2011
@@ -0,0 +1,7 @@
+#Welcome to the Open Relevance Project
+
+The Open Relevance Project (ORP) is a small Apache Lucene sub-project aimed at making materials for doing relevance testing
+ for Information Retrieval (IR), Machine Learning and Natural Language Processing (NLP) into open source.
+
+Our initial focus is on creating collections, judgments, queries and tools for the Lucene ecosystem of
+ projects (Lucene Java, Solr, Nutch, Mahout, etc.) that can be used to judge relevance in a free, repeatable manner.
\ No newline at end of file

Copied: lucene/cms/trunk/content/lucene/openrelevance/mailing-lists.mdtext (from r1155009, lucene/cms/trunk/content/lucene/core/mailing-lists.mdtext)
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/openrelevance/mailing-lists.mdtext?p2=lucene/cms/trunk/content/lucene/openrelevance/mailing-lists.mdtext&p1=lucene/cms/trunk/content/lucene/core/mailing-lists.mdtext&r1=1155009&r2=1156169&rev=1156169&view=diff
==============================================================================
--- lucene/cms/trunk/content/lucene/core/mailing-lists.mdtext (original)
+++ lucene/cms/trunk/content/lucene/openrelevance/mailing-lists.mdtext Wed Aug 10 13:21:27 2011
@@ -1,38 +1,19 @@
-## Core User List
+#ORP Mailing Lists
 
-This list is for users of Java Lucene to ask questions, share knowledge,
-and discuss issues. <b>Do</b> send mail to this list with usage and configuration questions and problems.  Also, please
-send questions to this list to verify your problem before filing issues in JIRA.
+## *User discussions:*
 
-- [Subscribe](mailto:java-user-subscribe@lucene.apache.org)
-- [Unsubscribe](mailto:java-user-unsubscribe@lucene.apache.org)
-- [Official Archive](http://mail-archives.apache.org/mod_mbox/lucene-java-user/)
-- [Old Jakarta Archive](http://mail-archives.apache.org/mod_mbox/jakarta-lucene-user/)
-## Java Developer List
+-<a href="mailto:openrelevance-user-subscribe@lucene.apache.org">Subscribe</a>
+-<a href="mailto:openrelevance-user-unsubscribe@lucene.apache.org">Unsubscribe</a>
+-[Archive](http://mail-archives.apache.org/mod_mbox/lucene-openrelevance-user/)
 
-This is the list where participating developers of the Java Lucene project meet
-and discuss issues concerning Lucene internals, code changes/additions, etc. Do not send mail to this list
-with usage questions or configuration questions and problems.
 
-### Discussion list:
+## *Developer discussions:*
 
-- [Subscribe](mailto:dev-subscribe@lucene.apache.org) *Do not send mail to this list with usage questions or configuration questions and problems.*
-- [Unsubscribe](mailto:dev-unsubscribe@lucene.apache.org)
-- [Official Archive](http://mail-archives.apache.org/mod_mbox/lucene-dev/)
-- [Old Jakarta Archive](http://mail-archives.apache.org/mod_mbox/jakarta-lucene-dev/)
+Discussions on this list are for questions related to how to create the ORP content.  It is not for questions related
+to how to consume ORP content or how to run evaluations, etc.  Please use the user mailing list for those discussions.
 
-### Commit notifications:
+-<a href="mailto:openrelevance-dev-subscribe@lucene.apache.org">Subscribe</a>
+-<a href="mailto:openrelevance-dev-unsubscribe@lucene.apache.org">Unsubscribe</a>
+-[Archive](http://mail-archives.apache.org/mod_mbox/lucene-openrelevance-dev/)
 
-- [Subscribe](mailto:commits-subscribe@lucene.apache.org)
-- [Unsubscribe](mailto:commits-unsubscribe@lucene.apache.org)
-- [Archive](http://mail-archives.apache.org/mod_mbox/lucene-commits/)
 
-## Mail Archives
-
-The Lucene Wiki maintains a list of searchable mailing list archives at [http://wiki.apache.org/lucene-java/MailingListArchives](http://wiki.apache.org/lucene-java/MailingListArchives).
-No endorsement is implied by the listing of an archive on the Wiki.
-
-## Other Mailing Lists
-
-Each Lucene project maintains its own mailing lists.  Please refer to the project you are interested in for details
-    on subscribing to its mailing list.  For the Lucene TLP General mailing list, go [here](http://lucene.apache.org/mail.html).
\ No newline at end of file

Added: lucene/cms/trunk/content/lucene/openrelevance/orpnews.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/openrelevance/orpnews.mdtext?rev=1156169&view=auto
==============================================================================
--- lucene/cms/trunk/content/lucene/openrelevance/orpnews.mdtext (added)
+++ lucene/cms/trunk/content/lucene/openrelevance/orpnews.mdtext Wed Aug 10 13:21:27 2011
@@ -0,0 +1,6 @@
+# 14 July 2009 - Wiki now available
+The ORP Wiki is now available at http://cwiki.apache.org/ORP. Anyone can edit it, so please feel free to help out the ORP!
+
+# 25 June 2009 - Apache Open Relevance Kickoff
+The Apache Lucene PMC has officially voted to add the Open Relevance Project (ORP) as a Lucene subproject. ORP's main goal is to build out collections, judgments and queries in an open environment to make it easier for Lucene developers and users to do relevance testing, much like one would get if using TREC or other evaluation conferences.
+

Added: lucene/cms/trunk/content/lucene/pylucene/features.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/pylucene/features.mdtext?rev=1156169&view=auto
==============================================================================
--- lucene/cms/trunk/content/lucene/pylucene/features.mdtext (added)
+++ lucene/cms/trunk/content/lucene/pylucene/features.mdtext Wed Aug 10 13:21:27 2011
@@ -0,0 +1,280 @@
+<warning>
+Before calling any PyLucene API that requires the Java VM, start it by
+calling <code>initVM(classpath, ...)</code>. More about this function
+in <a href="site:jcc/documentation/readme">here</a>.
+</warning>
+
+#Installing PyLucene
+
+PyLucene is a Python extension built with 
+<a href="site:jcc/about/index">JCC</a>.
+
+
+To build PyLucene, JCC needs to be built first. Sources for JCC are
+included with the PyLucene sources. Instructions for building and
+installing JCC are <a href="site:jcc/documentation/install">here</a>. 
+
+
+Instruction for building PyLucene
+are <a href="site:documentation/install">here</a>.
+
+
+
+#API documentation
+
+PyLucene is closely tracking Java Lucene releases. It intends to
+supports the entire Lucene API.
+
+
+PyLucene also includes a number of Lucene contrib packages: the
+Snowball analyzer and stemmers, the highlighter package, analyzers
+for other languages than english, regular expression queries, 
+specialized queries such as 'more like this' and more.
+
+
+This document only covers the pythonic extensions to Lucene offered
+by PyLucene as well as some differences between the Java and Python
+APIs. For the documentation on Java Lucene APIs,
+see <a href="http://lucene.apache.org/java/docs/api/index.html">here</a>.
+
+
+To help with debugging and to support some Lucene APIs, PyLucene also
+exposes some Java runtime APIs.
+
+
+#Samples
+
+The best way to learn PyLucene is to look at the many samples
+included with the PyLucene source release or on the web at:
+
+
+- <a href="http://svn.apache.org/viewcvs.cgi/lucene/pylucene/trunk/samples">http://svn.apache.org/viewcvs.cgi/lucene/pylucene/trunk/samples</a>
+
+- <a href="http://svn.apache.org/viewcvs.cgi/lucene/pylucene/trunk/samples/LuceneInAction">http://svn.apache.org/viewcvs.cgi/lucene/pylucene/trunk/samples/LuceneInAction</a>
+
+
+
+A large number of samples are shipped with PyLucene. Most notably,
+all the samples published in
+the <a href="http://www.manning.com/hatcher2"><em>Lucene in
+Action</em></a> book that did not depend on a third party Java
+library for which there was no obvious Python equivalent were
+ported to Python and PyLucene.
+
+
+<em>Lucene in Action</em> is a great companion to learning
+Lucene. Having all the samples available in Python should make it
+even easier for Python developers.
+
+
+<em>Lucene in Action</em> was written by Erik Hatcher and Otis
+Gospodnetic, both part of the Java Lucene development team, and is
+available from
+<a href="http://www.manning.com/hatcher2">Manning Publications</a>.
+
+
+
+#Threading support with attachCurrentThread
+
+Before PyLucene APIs can be used from a thread other than the main
+thread that was not created by the Java Runtime, the
+<code>attachCurrentThread()</code> method must be called on the
+<code>JCCEnv</code> object returned by the <code>initVM()</code>
+or <code>getVMEnv()</code> functions.
+
+
+
+#Exception handling with lucene.JavaError
+
+Java exceptions are caught at the language barrier and reported to
+Python by raising a JavaError instance whose args tuple contains the
+actual Java Exception instance.
+
+
+
+#Handling Java arrays
+
+Java arrays are returned to Python in a <code>JArray</code>
+wrapper instance that implements the Python sequence protocol. It
+is possible to change array elements but not to change the array
+size.
+
+
+A few Lucene APIs take array arguments and expect values to be
+returned in them. To call such an API and be able to retrieve the
+array values after the call, a Java array needs to instantiated
+first.<br/>
+For example, accessing termDocs:
+
+<source>
+termDocs = reader.termDocs(Term("isbn", isbn))
+docs = JArray('int')(1)   # allocate an int[1] array
+freq = JArray('int')(1)   # allocate an int[1] array
+if termDocs.read(docs, freq) == 1:
+  bits.set(docs[0])     # access the array's first element
+</source>
+
+In addition to <code>'int'</code>, the <code>'JArray'</code>
+function accepts <code>'object'</code>, <code>'string'</code>,
+<code>'bool'</code>, <code>'byte'</code>, <code>'char'</code>,
+<code>'double'</code>, <code>'float'</code>, <code>'long'</code>
+and <code>'short'</code> to create an array of the corresponding
+type. The <code>JArray('object')</code> constructor takes a second
+argument denoting the class of the object elements. This argument
+is optional and defaults to Object.
+
+
+To convert a char array to a Python string use a
+<code>''.join(array)</code> construct.
+
+
+Instead of an integer denoting the size of the desired Java array,
+a sequence of objects of the expected element type may be passed
+in to the array constructor.<br/>
+For example:
+
+<source>
+# creating a Java array of double from the [1.5, 2.5] list
+JArray('double')([1.5, 2.5])
+</source>
+
+All methods that expect an array also accept a sequence of Python
+objects of the expected element type. If no values are expected
+from the array arguments after the call, it is hence not necessary
+to instantiate a Java array to make such calls.
+
+
+See <a href="site:jcc/documentation/readme">JCC</a> for more
+information about handling arrays.
+
+
+
+#Differences between the Java Lucene and PyLucene APIs
+
+- The PyLucene API exposes all Java Lucene classes in a flat namespace
+in the PyLucene module. For example, the Java import
+statement <code>import
+org.apache.lucene.index.IndexReader;</code> corresponds to the
+Python import statement <code>from lucene import
+IndexReader</code>
+
+- Downcasting is a common operation in Java but not a concept in
+Python. Because the wrapper objects implementing exactly the
+APIs of the declared type of the wrapped object, all classes
+implement two class methods called instance_ and cast_ that
+verify and cast an instance respectively.
+
+
+
+
+#Pythonic extensions to the Java Lucene APIs
+
+Java is a very verbose language. Python, on the other hand, offers
+many syntactically attractive constructs for iteration, property
+access, etc... As the Java Lucene samples from the <em>Lucene in
+Action</em> book were ported to Python, PyLucene received a number
+of pythonic extensions listed here:
+
+
+- Iterating search hits is a very common operation. Hits instances
+are iterable in Python. Two values are returned for each
+iteration, the zero-based number of the document in the Hits
+instance and the document instance itself.<br/>
+The Java loop:
+<source>
+  for (int i = 0; i &lt; hits.length(); i++) {
+      Document doc = hits.doc(i);
+      System.out.println(hits.score(i) + " : " + doc.get("title"));
+  }
+</source>
+can be written in Python:
+<source>
+ for hit in hits:
+     hit = Hit.cast_(hit)
+     print hit.getScore(), ':', hit.getDocument['title']
+ </source>
+if hit.iterator()'s next() method were declared to return
+<code>Hit</code> instead of <code>Object</code>, the above
+cast_() call would not be unnecessary.<br/>
+The same java loop can also be written:
+<source>
+  for i xrange(len(hits)):
+      print hits.score(i), ':', hits[i]['title']
+</source>
+
+- Hits instances partially implement the Python 'sequence'
+protocol.<br/>
+The Java expressions:
+<source>
+  hits.length()
+  doc = hits.get(i)
+</source>
+are better written in Python:
+<source>
+  len(hits)
+  doc = hits[i]
+</source>
+
+- Document instances have fields whose values can be accessed
+through the mapping protocol.<br/>
+The Java expression:
+<source>
+  doc.get("title")
+</source>
+is better written in Python:
+<source>
+  doc['title']
+</source>
+
+- Document instances can be iterated over for their fields.<br/>
+The Java loop:
+<source>
+  Enumeration fields = doc.getFields();
+  while (fields.hasMoreElements()) {
+      Field field = (Field) fields.nextElement();
+      ...
+  }
+</source>
+is better written in Python:
+<source>
+  for field in doc.getFields():
+      field = Field.cast_(field)
+      ...
+</source>
+Once JCC heeds Java 1.5 type parameters and once Java Lucene
+makes use of them, such casting should become unncessary.
+
+
+
+
+#Extending Java Lucene classes from Python
+
+Many areas of the Lucene API expect the programmer to provide
+their own implementation or specialization of a feature where
+the default is inappropriate. For example, text analyzers and
+tokenizers are an area where many parameters and environmental
+or cultural factors are calling for customization.
+
+
+PyLucene enables this by providing Java extension points listed
+below that serve as proxies for Java to call back into the
+Python implementations of these customizations.
+
+
+These extension points are simple Java classes that JCC
+generates the native C++ implementations for. It is easy to add
+more such extensions classes into the 'java' directory of the
+PyLucene source tree.
+
+
+To learn more about this topic, please refer to the JCC
+<a href="site:jcc/documentation/readme">documentation</a>.
+
+
+Please refer to the classes in the 'java' tree for currently
+available extension points. Examples of uses of these extension
+points are to be found in PyLucene's unit tests and <em>Lucene
+in
+Action</em> <a href="http://svn.apache.org/viewcvs.cgi/lucene/pylucene/trunk/samples/LuceneInAction">samples</a>.
+
+

Added: lucene/cms/trunk/content/lucene/pylucene/index.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/pylucene/index.mdtext?rev=1156169&view=auto
==============================================================================
--- lucene/cms/trunk/content/lucene/pylucene/index.mdtext (added)
+++ lucene/cms/trunk/content/lucene/pylucene/index.mdtext Wed Aug 10 13:21:27 2011
@@ -0,0 +1,47 @@
+#What is PyLucene ?
+
+PyLucene is a <a href="http://www.python.org">Python</a> extension
+for accessing
+Java <a href="http://lucene.apache.org/java/">Lucene</a>. Its goal
+is to allow you to use Lucene's text indexing and searching
+capabilities from Python. It is API compatible with the latest
+version of Java Lucene, version 3.2 as of June 9th, 2011.
+
+
+PyLucene is not a Lucene port but a Python wrapper around
+Java Lucene. PyLucene embeds a Java VM with Lucene into a Python
+process. The PyLucene Python extension, a Python module called
+<code>lucene</code>, is machine-generated by JCC.
+
+
+PyLucene is built with <a href="site:jcc/about/index">JCC</a>, a C++
+code generator that makes it possible to call into Java classes from
+Python via Java's Native Invocation Interface (JNI). Sources for JCC
+are included with the PyLucene sources.
+
+
+See <a href="site:documentation/readme">here</a> for more
+information and documentation about PyLucene.
+
+#Requirements
+
+PyLucene is supported on Mac OS X, Linux, Solaris and Windows.
+
+
+PyLucene requires Python version 2.x (x >= 3.5) and Java version 1.x
+(x >= 4). Building PyLucene requires GNU Make, a recent version
+of <a href="http://ant.apache.org">Ant</a> capable of building
+Java <a href="http://lucene.apache.org/java/">Lucene</a> and a C++
+compiler. Use
+of <a href="http://pypi.python.org/pypi/setuptools">setuptools</a>
+is recommended. 
+
+
+See the JCC <a href="site:jcc/documentation/install">installation
+instructions</a> for more information about building JCC from sources.
+
+
+See the PyLucene <a href="site:documentation/install">installation
+instructions</a> for more information about building PyLucene from
+sources.
+

Added: lucene/cms/trunk/content/lucene/pylucene/install.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/pylucene/install.mdtext?rev=1156169&view=auto
==============================================================================
--- lucene/cms/trunk/content/lucene/pylucene/install.mdtext (added)
+++ lucene/cms/trunk/content/lucene/pylucene/install.mdtext Wed Aug 10 13:21:27 2011
@@ -0,0 +1,83 @@
+
+#Building PyLucene
+
+PyLucene is completely code-generated by JCC whose sources are
+included with the PyLucene sources.<br/>
+
+
+#Requirements
+
+To build PyLucene a Java Development Kit (JDK)
+and <a href="http://ant.apache.org">Ant</a> are required; use of the
+resulting PyLucene binaries requires only a Java Runtime Environment
+(JRE).
+
+
+The <a href="http://pypi.python.org/pypi/setuptools">setuptools</a>
+package is required to build and run PyLucene on Python 2.3.5. With
+later versions of Python, setuptools is only required for shared
+mode. See JCC's <a href="site:jcc/documentation/install">installation
+instructions</a> for more information.
+
+
+#For the Impatient Ones
+
+- <code>pushd jcc</code>
+- &lt;edit <code>setup.py</code> to match your environment&gt;
+- <code>python setup.py build</code>
+- <code>sudo python setup.py install</code>
+- <code>popd</code>
+- &lt;edit <code>Makefile</code> to match your environment&gt;
+- <code>make</code>
+- <code>sudo make install</code>
+- <code>make test</code> (look for failures)
+
+
+#For the Rest of Us
+
+Before building PyLucene, JCC must be
+built first. See
+JCC's <a href="site:jcc/documentation/install">installation
+instructions</a> for building and installing it.
+
+Once JCC is built and installed, PyLucene is built
+via <code>make</code> which invokes JCC. See PyLucene's
+<code>Makefile</code> for configuration instructions.
+
+There are limits to both how many files can fit on the command
+line and how large a C++ file the C++ compiler can handle.
+By default, JCC generates one large C++ file containing the source
+code for all wrapper classes.
+
+Using the --files command line argument, this behaviour can be
+tuned to workaround various limits, for example:
+
+
+- to break up the large wrapper class file into about 2 files:<br/>
+<code>--files 2</code>
+
+- to break up the large wrapper class file into about 10 files:<br/>
+<code>--files 10</code>
+
+- to generate one C++ file per Java class wrapped:<br/>
+<code>--files separate</code>
+
+
+#Notes for Solaris
+
+PyLucene's Makefile is a GNU Makefile. Be sure to
+use <code>gmake</code> instead of plain <code>make</code>.
+
+
+Just as when building JCC, Python's distutils must be nudged a bit to
+invoke the correct compiler. Sun Studio's C compiler is
+called <code>cc</code> while its C++ compiler is
+called <code>CC</code>.<br/>
+
+
+To build PyLucene, use the following shell command to ensure that
+the C++ compiler is used:<br/>
+<code>
+$ CC=CC gmake
+</code>
+

Added: lucene/cms/trunk/content/lucene/pylucene/mailing-lists.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/pylucene/mailing-lists.mdtext?rev=1156169&view=auto
==============================================================================
--- lucene/cms/trunk/content/lucene/pylucene/mailing-lists.mdtext (added)
+++ lucene/cms/trunk/content/lucene/pylucene/mailing-lists.mdtext Wed Aug 10 13:21:27 2011
@@ -0,0 +1,47 @@
+#Users
+
+Historically, Lucene user issues or questions have almost always
+been best addressed on the Java Lucene User mailing list. PyLucene
+users with general Lucene questions should consider contacting
+the <a href="http://lucene.apache.org/java/docs/mailinglists.html#Java%20User%20List">Java
+Lucene User</a> list first.
+
+
+For issues or questions specific to PyLucene such as build issues,
+please contact the <a href="#Developers">PyLucene Developer</a>
+mailing list.
+
+<note>
+In order to post to the <a href="#Developers">PyLucene Developer</a>
+list, it is necessary to first <a href="mailto:pylucene-dev-subscribe@lucene.apache.org">subscribe</a> to it. See below for more information.
+</note> 
+
+#Developers
+
+If you'd like to contribute to PyLucene or are having questions
+specific to PyLucene or JCC, please subscribe to the PyLucene
+developer mailing list.
+
+
+The PyLucene developer mailing list is:
+<a href="mailto:pylucene-dev@lucene.apache.org">pylucene-dev@lucene.apache.org</a>.
+
+
+- <a href="mailto:pylucene-dev-subscribe@lucene.apache.org">Subscribe to List</a>
+- <a href="mailto:pylucene-dev-unsubscribe@lucene.apache.org">Unsubscribe from List</a>
+- <a href="http://mail-archives.apache.org/mod_mbox/lucene-pylucene-dev/">View List Archive</a>
+
+
+<note>
+In order to post to the list, it is necessary to first <a href="mailto:pylucene-dev-subscribe@lucene.apache.org">subscribe</a> to it.
+</note> 
+
+#Commits
+
+If you'd like to be notified when source code changes are committed
+to PyLucene's <a href="version_control.html">version control
+system</a> then subscribe to the PyLucene commits mailing list.
+
+
+- <a href="mailto:pylucene-commits-subscribe@lucene.apache.org">Subscribe to List</a>
+- <a href="mailto:pylucene-commits-unsubscribe@lucene.apache.org">Unsubscribe from List</a>

Added: lucene/cms/trunk/content/lucene/pylucene/pynews.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/pylucene/pynews.mdtext?rev=1156169&view=auto
==============================================================================
--- lucene/cms/trunk/content/lucene/pylucene/pynews.mdtext (added)
+++ lucene/cms/trunk/content/lucene/pylucene/pynews.mdtext Wed Aug 10 13:21:27 2011
@@ -0,0 +1,32 @@
+#News
+#23 Jul 2011 - PyLucene 3.3-3 available
+
+This release tracks Lucene Core's recent 3.3 <a href="http://lucene.apache.org/#1+July+2011+-+Lucene+Core+3.3+and+Solr+3.3+Available">release</a>.
+
+
+See <a href="http://svn.apache.org/repos/asf/lucene/pylucene/tags/pylucene_3_3/CHANGES">PyLucene 3.3 CHANGES</a> and <a href="http://svn.apache.org/repos/asf/lucene/pylucene/trunk/jcc/CHANGES">JCC 2.10 CHANGES</a> for details.<br/>
+
+
+Source distributions are available <a href="http://www.apache.org/dyn/closer.cgi/lucene/pylucene/">here</a>.
+
+
+#09 Jun 2011 - PyLucene 3.2.0-1 available
+
+This release tracks Lucene Core's recent 3.2 <a href="http://lucene.apache.org/java/docs/index.html#4+June+2011+-+Lucene+Core+3.2">release</a>.
+
+
+See <a href="http://svn.apache.org/repos/asf/lucene/pylucene/tags/pylucene_3_2_0/CHANGES">PyLucene 3.2.0 CHANGES</a> and <a href="http://svn.apache.org/repos/asf/lucene/pylucene/trunk/jcc/CHANGES">JCC 2.9 CHANGES</a> for details.<br/>
+
+
+Source distributions are available <a href="http://www.apache.org/dyn/closer.cgi/lucene/pylucene/">here</a>.
+
+
+#04 Apr 2011 - PyLucene 3.1.0-1 available
+
+This release tracks Lucene Core's recent 3.1 <a href="http://lucene.apache.org/java/docs/index.html#31+March+2011+-+Lucene+Core+3.1">release</a>.
+
+
+See <a href="http://svn.apache.org/repos/asf/lucene/pylucene/tags/pylucene_3_1_0/CHANGES">PyLucene 3.1.0 CHANGES</a> and <a href="http://svn.apache.org/repos/asf/lucene/pylucene/trunk/jcc/CHANGES">JCC 2.8 CHANGES</a> for details.<br/>
+
+
+Source distributions are available <a href="http://www.apache.org/dyn/closer.cgi/lucene/pylucene/">here</a>.

Modified: lucene/cms/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/lib/path.pm?rev=1156169&r1=1156168&r2=1156169&view=diff
==============================================================================
--- lucene/cms/trunk/lib/path.pm (original)
+++ lucene/cms/trunk/lib/path.pm Wed Aug 10 13:21:27 2011
@@ -34,7 +34,7 @@ our @patterns = (
                                             limit => 3),
 	 }],
 	[qr!pylucene\/.*?\.mdtext$!, main => { template => "pylucene.html" }],
-	[qr!openrelevance\/.*?\.mdtext$!, main => { template => "orp.html" }],
+	[qr!openrelevance\/.*?\.mdtext$!, main => { template => "openrelevance.html" }],
 	# keep the general one last
   [qr!\.mdtext$!, main => { template => "main.html",
      dev => ASF::Value::Mail->new(list => 'dev@lucene.apache.org',

Modified: lucene/cms/trunk/templates/main.html
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/main.html?rev=1156169&r1=1156168&r2=1156169&view=diff
==============================================================================
--- lucene/cms/trunk/templates/main.html (original)
+++ lucene/cms/trunk/templates/main.html Wed Aug 10 13:21:27 2011
@@ -57,7 +57,7 @@ https://docs.djangoproject.com/en/dev/to
         <li><a href="./core/">Core (Java)</a></li>
         <li><a href="./solr/">Solr</a></li>
         <li><a href="./pylucene/">PyLucene</a></li>
-        <li><a href="Open Relevance">Open Relevance</a></li>
+        <li><a href="./openrelevance/">Open Relevance</a></li>
       </ul>
       {% endblock %}
     </div>
@@ -134,7 +134,9 @@ https://docs.djangoproject.com/en/dev/to
       {% block news %}
       <div>{% filter markdown %}{% include "mainnews.mdtext" %}{% endfilter %}</div>
       {% endblock %}
+      {% block asfboiler %}
       <div>{% filter markdown %}{% include "asf.mdtext" %}{% endfilter %}</div>
+      {% endblock %}
     </div>
     {% block sidebar %}
     <div id="sidebar">

Copied: lucene/cms/trunk/templates/openrelevance.html (from r1156116, lucene/cms/trunk/templates/solr.html)
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/openrelevance.html?p2=lucene/cms/trunk/templates/openrelevance.html&p1=lucene/cms/trunk/templates/solr.html&r1=1156116&r2=1156169&rev=1156169&view=diff
==============================================================================
--- lucene/cms/trunk/templates/solr.html (original)
+++ lucene/cms/trunk/templates/openrelevance.html Wed Aug 10 13:21:27 2011
@@ -19,8 +19,7 @@
       See the License for the specific language governing permissions and
       limitations under the License.
   -->
-  <link href="../css/global.css" rel="stylesheet" type="text/css">
-  <link href="../css/solr.css" rel="stylesheet" type="text/css">
+  <link href="../css/orp.css" rel="stylesheet" type="text/css">
   <title>Apache Lucene - {% block title %}{{ headers.title }}{% endblock %}</title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
@@ -38,114 +37,26 @@
 </head>
 {% endblock %}
 {% block logo %}
-  <a href="index.html"><img border="0" width="250" height="137" src="../images/solr.png" alt="Solr Logo"/></a>
+  <a href="index.html"><img border="0" src="../images/lucene_logo_green_300.png" alt="Lucene Logo"/></a>
 {% endblock %}
 {% block slides %}
-<div id="slides">
-      <div class="slideshow" id="mantleSlides">
-        <div id="slide1" >
-          <div class="callout">
-            Ultra-fast Lucene-based Search Server<br/>
-          </div>
-          <div class="descwrapper"><div class="description">
-            Apache Solr offers Lucene's capabilities in an easy to use, fast search server
-          </div></div>
-          <div class="mantle">
-            <img alt="Apache Solr" src="../images/mantle-solr.png"/>
-          </div>
-        </div>
-        <div id="slide2" style="display:none">
-          <div class="callout">
-            Proven search capabilities<br/>
-          </div>
-          <div class="descwrapper"><div class="description">
-            The Solr search server powers a wide range of applications such as Netflix, AOL, CNET, Zappos and many more
-          </div></div>
-          <div class="mantle">
-            <img alt="Solr Power" src="../images/mantle-power.png"/>
-          </div>
-        </div>
-        <div id="slide3" style="display:none">
-          <div class="callout">
-            Scalable
-          </div>
-          <div class="descwrapper"><div class="description">
-            Apache Solr has been deployed successfully in both high query volume situations and
-            large collection sizes
-          </div></div>
-          <div class="mantle">
-            <img alt="Apache Mahout community" src="../images/mantle-scale.png"/>
-          </div>
-        </div>
-        <div id="slide4" style="display:none">
-          <div class="callout">
-            Apache 2.0 licensed
-          </div>
-          <div class="descwrapper"><div class="description">
-            Apache Solr is distributed under a commercially friendly Apache Software license
-          </div></div>
-          <div class="mantle">
-            <img alt="Apache Software Foundation" src="../images/mantle-asf.png"/>
-          </div>
-        </div>
-      </div>
-      <div class="controls">
-        <a class="next" id="next" title="Next" href="#">Next</a>
-        <a class="previous" id="previous" title="Previous" href="#">Previous</a>
-        <a class="start" id="start" title="Start" href="#" style="display: none; ">Start</a>
-        <a class="stop" id="stop" title="Stop" href="#">Stop</a>
-      </div>
-    </div>
 {% endblock %}
 {% block nav %}
 <ul>
-  <li><a href="index.html">Solr</a></li>
-  <li><a href="downloads.html">Download</a></li>
-  <li><a href="documentation.html">Documentation</a></li>
-  <li><a href="quickstart.html">Tutorial</a></li>
-  <li><a href="https://issues.apache.org/jira/browse/SOLR">Bug Tracker</a></li>
+  <li><a href="index.html">ORP</a></li>
+  <li><a href="http://svn.apache.org/repos/asf/lucene/openrelevance/">Source</a></li>
+  <li><a href="https://issues.apache.org/jira/browse/ORP">Bug Tracker</a></li>
   <li><a href="mailing-lists.html">Discussion</a></li>
   <li><a class="last" href="../">Lucene</a></li>
 </ul>
 {% endblock %}
 {% block news %}
-  <div>{% filter markdown %}{% include "../content/lucene/solr/solrnews.mdtext" %}{% endfilter %}</div>
+  <div>{% filter markdown %}{% include "../content/lucene/openrelevance/orpnews.mdtext" %}{% endfilter %}</div>
 {% endblock %}
 
 {% block sidebar %}
     <div id="sidebar">
-      {% filter markdown %}{% include "solrnav.mdtext" %}{% endfilter %}
-      <div class="status">
-        <div id="svn">
-          <h1>Latest SVN</h1>
-          <div class="status-item">
-          {% for e in svn.list %}
-          <a class="svn" href="http://svn.apache.org/viewvc?revision={{ e.revision }};view=revision">r{{ e.revision }}</a>
-          {{ e.message|safe|truncatewords_html:20 }} ({{
-          e.projects|safe }}) &mdash;
-          <a href="http://people.apache.org/committer-index.html#{{ e.author }}">{{ e.author }}</a>
-        {% endfor %}</div></div>
-        <div id="jira">
-          <h1>Latest JIRA</h1>
-          <div class="status-item">{% for e in jira.list %}
-          <a class="bug" href="{{ e.url }}">{{ e.title|safe }}</a><br/>
-          {{ e.content|safe|truncatewords_html:20 }}
-        {% endfor %}</div></div>
-        <div id="dev-mail">
-          <h1>Latest Dev</h1>
-          <div class="status-item">{% for e in dev.list %}
-          <h4><a href="{{ e.url }}">{{ e.title }}</a></h4>
-          <hr>
-          {% endfor %}</div>
-        </div>
-        <div id="solr-user-mail">
-          <h1>Latest Solr User</h1>
-          <div class="status-item">{% for e in solruser.list %}
-          <h4><a href="{{ e.url }}">{{ e.title }}</a></h4>
-          <hr>
-          {% endfor %}</div>
-        </div>
-      </div>
+      {% filter markdown %}{% include "orpnav.mdtext" %}{% endfilter %}
     </div>
 {% endblock %}
 {% block privacy %}<a href="../privacy.html">Privacy Policy</a>{% endblock %}
\ No newline at end of file

Copied: lucene/cms/trunk/templates/orpnav.mdtext (from r1155009, lucene/cms/trunk/templates/solrnav.mdtext)
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/orpnav.mdtext?p2=lucene/cms/trunk/templates/orpnav.mdtext&p1=lucene/cms/trunk/templates/solrnav.mdtext&r1=1155009&r2=1156169&rev=1156169&view=diff
==============================================================================
--- lucene/cms/trunk/templates/solrnav.mdtext (original)
+++ lucene/cms/trunk/templates/orpnav.mdtext Wed Aug 10 13:21:27 2011
@@ -1,8 +1,3 @@
-
-# User Resources
-  - [Features](./features.html)
-  - [Tutorial](./tutorial.html)
-
 # About
   - [Who We are](../whoweare.html)
 

Added: lucene/cms/trunk/templates/pylucene.html
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/pylucene.html?rev=1156169&view=auto
==============================================================================
--- lucene/cms/trunk/templates/pylucene.html (added)
+++ lucene/cms/trunk/templates/pylucene.html Wed Aug 10 13:21:27 2011
@@ -0,0 +1,61 @@
+{% extends "main.html" %}
+{% block head %}
+<head>
+  <!--
+
+
+      Licensed to the Apache Software Foundation (ASF) under one or more
+      contributor license agreements.  See the NOTICE file distributed with
+      this work for additional information regarding copyright ownership.
+      The ASF licenses this file to You under the Apache License, Version 2.0
+      (the "License"); you may not use this file except in compliance with
+      the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE- 2.0
+
+      Unless required by applicable law or agreed to in writing, software
+      distributed under the License is distributed on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+      See the License for the specific language governing permissions and
+      limitations under the License.
+  -->
+  <link href="../css/pylucene.css" rel="stylesheet" type="text/css">
+  <title>Apache Lucene - {% block title %}{{ headers.title }}{% endblock %}</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
+  <meta name="Distribution" content="Global"/>
+  <meta name="Robots" content="index,follow"/>
+  <meta name="keywords"
+        content="apache, apache lucene, apache solr, solr, lucene
+        search, information retrieval, spell checking, faceting, inverted index, open source"/>
+  <link rel="shortcut icon" type="image/x-icon" href="../images/favicon.ico"/>
+  <script type="text/javascript" src="../scripts/prototype.js"></script>
+  <script type="text/javascript" src="../scripts/effects.js"></script>
+  <script type="text/javascript" src="../scripts/search.js"></script>
+  <script type="text/javascript" src="../scripts/slides.js"></script>
+  <script type="text/javascript" src="../scripts/jquery.js"></script>
+</head>
+{% endblock %}
+{% block logo %}
+  <a href="index.html"><img border="0" src="../images/lucene_logo_green_300.png" alt="Lucene Logo"/></a>
+{% endblock %}
+{% block slides %}
+{% endblock %}
+{% block nav %}
+<ul>
+  <li><a href="index.html">PyLucene</a></li>
+  <li><a href="https://issues.apache.org/jira/browse/PYLUCENE">Bug Tracker</a></li>
+  <li><a href="mailing-lists.html">Discussion</a></li>
+  <li><a class="last" href="../">Lucene</a></li>
+</ul>
+{% endblock %}
+{% block news %}
+  <div>{% filter markdown %}{% include "../content/lucene/pylucene/pynews.mdtext" %}{% endfilter %}</div>
+{% endblock %}
+
+{% block sidebar %}
+    <div id="sidebar">
+      {% filter markdown %}{% include "pynav.mdtext" %}{% endfilter %}
+    </div>
+{% endblock %}
+{% block privacy %}<a href="../privacy.html">Privacy Policy</a>{% endblock %}
\ No newline at end of file

Added: lucene/cms/trunk/templates/pynav.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/pynav.mdtext?rev=1156169&view=auto
==============================================================================
--- lucene/cms/trunk/templates/pynav.mdtext (added)
+++ lucene/cms/trunk/templates/pynav.mdtext Wed Aug 10 13:21:27 2011
@@ -0,0 +1,20 @@
+# Documentation
+  - [Features](features.html)
+  - [Install](install.html)
+
+# ASF links
+  - [Apache Software Foundation](http://www.apache.org)
+  - [License](http://www.apache.org/licenses/LICENSE-2.0)
+  - [Thanks](http://www.apache.org/foundation/thanks.html)
+  - [Become a Sponsor](http://www.apache.org/foundation/sponsorship.html)
+
+# Related Projects
+  - [Apache Hadoop](http://hadoop.apache.org)
+  - [Apache ManifoldCF](http://incubator.apache.org/connectors/)
+  - [Apache Lucene.Net](http://incubator.apache.org/lucene.net/)
+  - [Apache Lucy](http://incubator.apache.org/lucy/)
+  - [Apache Mahout](http://mahout.apache.org)
+  - [Apache Nutch](http://nutch.apache.org)
+  - [Apache OpenNLP](http://incubator.apache.org/opennlp)
+  - [Apache Tika](http://tika.apache.org)
+  - [Apache Zookeeper](http://zookeeper.apache.org)

Modified: lucene/cms/trunk/templates/simple.html
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/simple.html?rev=1156169&r1=1156168&r2=1156169&view=diff
==============================================================================
--- lucene/cms/trunk/templates/simple.html (original)
+++ lucene/cms/trunk/templates/simple.html Wed Aug 10 13:21:27 2011
@@ -1,182 +1,10 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-{#
-See for how templates work
-https://docs.djangoproject.com/en/dev/topics/templates/
-
-Similar to main.html, but with less boilerplate in the main section as
-well as no news
-#}
-{% block head %}
-<head>
-  <!--
-
-
-      Licensed to the Apache Software Foundation (ASF) under one or more
-      contributor license agreements.  See the NOTICE file distributed with
-      this work for additional information regarding copyright ownership.
-      The ASF licenses this file to You under the Apache License, Version 2.0
-      (the "License"); you may not use this file except in compliance with
-      the License.  You may obtain a copy of the License at
-
-         http://www.apache.org/licenses/LICENSE- 2.0
-
-      Unless required by applicable law or agreed to in writing, software
-      distributed under the License is distributed on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-      See the License for the specific language governing permissions and
-      limitations under the License.
-  -->
-
-  <link href="css/global.css" rel="stylesheet" type="text/css">
-  <title>Apache Lucene - {% block title %}{{ headers.title }}{% endblock %}</title>
-  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
-  <meta name="Distribution" content="Global"/>
-  <meta name="Robots" content="index,follow"/>
-  <meta name="keywords"
-        content="apache, apache lucene, apache solr, solr, lucene
-        search, information retrieval, spell checking, faceting, inverted index, open source"/>
-  <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"/>
-  <script type="text/javascript" src="scripts/prototype.js"></script>
-  <script type="text/javascript" src="scripts/effects.js"></script>
-  <script type="text/javascript" src="scripts/search.js"></script>
-  <script type="text/javascript" src="scripts/slides.js"></script>
-  <!--<script type="text/javascript" src="scripts/jquery.js"></script>-->
-</head>
+{% extends "main.html" %}
+{% block news %}
 {% endblock %}
-<body id="home">
-<div id="wrap">
-  <div id="header">
-    <div id="logo">
-      {% block logo %}
-      <a href="http://lucene.apache.org/"><img border="0" src="images/lucene_logo_green_300.png" alt="Lucene Logo"/></a>
-      {% endblock %}
-    </div>
-    {% include "search.html" %}
-    <div id="nav">
-      {% block nav %}
-      <ul>
-        <li><a href="./core/">Core (Java)</a></li>
-        <li><a href="./solr/">Solr</a></li>
-        <li><a href="./pylucene/">PyLucene</a></li>
-        <li><a href="Open Relevance">Open Relevance</a></li>
-      </ul>
-      {% endblock %}
-    </div>
-    {% block slides %}
-    <div id="slides">
-      <div class="slideshow" id="mantleSlides">
-        <div id="slide1" >
-          <div class="callout">
-            Ultra-fast Search Library and Server<br/>
-          </div>
-          <div class="descwrapper"><div class="description">
-            Apache Lucene and Solr set the standard for search and indexing performance
-          </div></div>
-          <div class="mantle">
-            <img alt="Apache Lucene" src="images/mantle-lucene-solr.png"/>
-          </div>
-        </div>
-        <div id="slide2" style="display:none">
-          <div class="callout">
-            Proven search capabilities<br/>
-          </div>
-          <div class="descwrapper"><div class="description">
-            Our core algorithms along with the Solr search server power applications the world over, ranging
-            from mobile devices to sites like Twitter, Apple and Wikipedia.
-          </div></div>
-          <div class="mantle">
-            <img alt="Lucene Power" src="images/mantle-power.png"/>
-          </div>
-        </div>
-        <div id="slide3" style="display:none">
-          <div class="callout">
-            Large, Vibrant community
-          </div>
-          <div class="descwrapper"><div class="description">
-            The goal of Apache Lucene and Solr is to provide world class search capabilities
-          </div></div>
-          <div class="mantle">
-            <img alt="Apache Mahout community" src="images/mantle-community.png"/>
-          </div>
-        </div>
-        <div id="slide4" style="display:none">
-          <div class="callout">
-            Apache 2.0 licensed
-          </div>
-          <div class="descwrapper"><div class="description">
-            Apache Lucene and Solr are distributed under a commercially friendly Apache Software license
-          </div></div>
-          <div class="mantle">
-            <img alt="Apache Software Foundation" src="images/mantle-asf.png"/>
-          </div>
-        </div>
-      </div>
-      <div class="controls">
-        <a class="next" id="next" title="Next" href="#">Next</a>
-        <a class="previous" id="previous" title="Previous" href="#">Previous</a>
-        <a class="start" id="start" title="Start" href="#" style="display: none; ">Start</a>
-        <a class="stop" id="stop" title="Stop" href="#">Stop</a>
-      </div>
-    </div>
-
-    <script type="text/javascript">
-      function StartSlides() {
-        new Slides('mantleSlides');
-      }
-      document.observe('dom:loaded', StartSlides);
-    </script>
-    {% endblock %}
-  </div>
-  <div id="content-wrap" class="clearfix">
-    <div id="main">
-      <h1 class="title">{% block title %}{{ headers.title }}{% endblock %}</h1>
-      <div>{% block content %}{{ content|markdown }}{% endblock %}</div>
-    </div>
-    {% block sidebar %}
+{% block sidebar %}
     <div id="sidebar">
       {% filter markdown %}{% include "sidenav.mdtext" %}{% endfilter %}
-      <div class="status">
-        <div id="dev-mail">
-          <h1>Latest Dev</h1>
-          <div class="status-item">{% for e in dev.list %}
-          <h4><a href="{{ e.url }}">{{ e.title }}</a></h4>
-          <hr>
-          {% endfor %}</div>
-        </div>
-        <div id="core-user-mail">
-          <h1>Latest Core User</h1>
-          <div class="status-item">{% for e in coreuser.list %}
-          <h4><a href="{{ e.url }}">{{ e.title }}</a></h4>
-          <hr>
-          {% endfor %}</div>
-        </div>
-        <div id="solr-user-mail">
-          <h1>Latest Solr User</h1>
-          <div class="status-item">{% for e in solruser.list %}
-          <h4><a href="{{ e.url }}">{{ e.title }}</a></h4>
-          <hr>
-          {% endfor %}</div>
-        </div>
-      </div>
     </div>
-    {% endblock %}
-  </div>
-  {% include "footer.html" %}
-</div>
-<script type="text/javascript">
-
-  var _gaq = _gaq || [];
-  _gaq.push(['_setAccount', 'UA-94576-12']);
-  _gaq.push(['_trackPageview']);
-
-  (function() {
-    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-  })();
-
-</script>
-</body>
-</html>
+{% endblock %}
+{% block asfboiler %}
+{% endblock %}
\ No newline at end of file