Author: thorsten Date: Fri Apr 13 17:46:28 2007 New Revision: 528721 URL: http://svn.apache.org/viewvc?view=rev&rev=528721 Log: Deployment of docs for org.apache.forrest.plugin.output.solr plugin (deployed by 'deploy-docs' target of plugin build script) Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/locationmap.xml.mine forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/locationmap.xml.r526590 forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/locationmap.xml.r527064 forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/themes/fontsize.js (with props) forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/themes/images/header_white_line.gif (with props) Modified: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/changes.dispatcher.css forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/changes.html forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/changes.pdf forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/changes.rss forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/changes.solr.add.do.dispatcher.css forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/changes.solr.add.do.html forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/changes.solr.add.do.pdf forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/images/group.png forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/images/project.png forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/index-creation.solr.add forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/index.dispatcher.css forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/index.html forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/index.pdf forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/index.solr forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/index.solr.add forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/index.solr.add.do.dispatcher.css forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/index.solr.add.do.html forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/index.solr.add.do.pdf forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/index.solr.delete forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/linkmap.dispatcher.css forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/linkmap.html forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/linkmap.pdf forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/locationmap.xml forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/screenshots.dispatcher.css forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/screenshots.html forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/screenshots.pdf forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/screenshots.solr.add.do.dispatcher.css forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/screenshots.solr.add.do.html forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/screenshots.solr.add.do.pdf forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/skin/CommonMessages_es.xml forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/solr-search.dispatcher.css forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/solr-search.html forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/solr-search.pdf forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/solr.commit forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/solr.optimize forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/themes/images/chapter.gif forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/themes/images/chapter_open.gif forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/themes/pelt.screen.css forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/todo.dispatcher.css forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/todo.html forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/todo.pdf forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/todo.solr.add.do.dispatcher.css forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/todo.solr.add.do.html forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/todo.solr.add.do.pdf Modified: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/changes.dispatcher.css URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/changes.dispatcher.css?view=diff&rev=528721&r1=528720&r2=528721 ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/changes.dispatcher.css (original) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/changes.dispatcher.css Fri Apr 13 17:46:28 2007 @@ -1,5 +1,5 @@ - + @@ -46,5 +46,5 @@ background-position: bottom left; } - + Modified: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/changes.html URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/changes.html?view=diff&rev=528721&r1=528720&r2=528721 ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/changes.html (original) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr/changes.html Fri Apr 13 17:46:28 2007 @@ -1,22 +1,22 @@ - - - - - - - - - - + @@ -33,6 +33,7 @@ + History of Changes @@ -178,13 +179,20 @@ +
-
+
+ + Font size: +   +   +   +

History of Changes

@@ -229,6 +237,7 @@

Changes to Project Administration

+
  • add @@ -255,11 +264,14 @@ Excluding the solr-actionbar contract when in crawler mode. Committed by TS.
+

Contributors to this release

+

We thank the following people for their contributions to this release.

This is a list of all people who participated as committers:
Thorsten Scherler (TS).

+

All Committers

@@ -279,7 +291,7 @@
+ 2002-2007 The Example Organisation.
+
-
+
+ + Font size: +   +   +   +
-

success in solr operation

+

error in solr operation

@@ -199,8 +207,41 @@

solr server response

-

Command: changes.solr.add

-

Success.

+

+ Command: + changes.solr.add

+
+
Warning
+
+ There was a problem: + org.apache.solr.core.SolrException: ERROR:unknown field 'title' + at org.apache.solr.update.DocumentBuilder.addField(DocumentBuilder.java:95) + at org.apache.solr.update.DocumentBuilder.addField(DocumentBuilder.java:75) + at org.apache.solr.handler.XmlUpdateRequestHandlerStax.readDoc(XmlUpdateRequestHandlerStax.java:337) + at org.apache.solr.handler.XmlUpdateRequestHandlerStax.processUpdate(XmlUpdateRequestHandlerStax.java:172) + at org.apache.solr.handler.XmlUpdateRequestHandlerStax.update(XmlUpdateRequestHandlerStax.java:377) + at org.apache.solr.handler.XmlUpdateRequestHandlerStax.doLegacyUpdate(XmlUpdateRequestHandlerStax.java:389) + at org.apache.solr.servlet.SolrUpdateServlet.doPost(SolrUpdateServlet.java:59) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:616) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) + at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) + at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) + at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:137) + at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) + at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) + at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) + at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) + at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) + at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) + at org.mortbay.http.HttpServer.service(HttpServer.java:909) + at org.mortbay.http.HttpConnection.service(HttpConnection.java:820) + at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) + at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) + at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) + at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) + at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) +
+
@@ -211,7 +252,7 @@
+ 2002-2007 The Example Organisation. +
-
+
+ + Font size: +   +   +   +

Welcome to the org.apache.forrest.plugin.output.solr Plugin

@@ -210,21 +218,25 @@

Apache Forrest - org.apache.forrest.plugin.output.solr Plugin

-

Generates - solr documents from xdos. Further when run with the - dispatcher in static mode it allows you to update a Solr server with the content of your - website at the same time you generate the site ( solr-add contract). In dynamic mode - (as servlet) it provides a GUI to manage your project in solr ( solr-actionbar - contract ) and a search interface ( solr-search contract) to search your solr server. -

+

+ Generates solr documents from xdos. Further when + run with the dispatcher in static mode it allows you to update a Solr + server with the content of your website at the same time you generate + the site ( solr-add contract). In dynamic mode (as servlet) it provides + a GUI to manage your project in solr ( solr-actionbar contract ) and a + search interface ( solr-search contract) to search your solr server. +

Dispatcher activation

-

You can see some - screenshots and activate the different - contracts by using following snippets. Explanation given within xml comments.

-
    <!-- default plugin CSS -->
+

+ You can see some screenshots and + activate the different contracts by using following snippets. + Explanation given within xml comments. +

+
+    <!-- default plugin CSS -->
     <forrest:contract name="branding-css-links">
       <forrest:property name="branding-css-links-input">
         <css url="solr.css" media="screen" theme="Pelt"/>
@@ -268,59 +280,78 @@
           </forrest:contract>
         </forrest:hook>
       </jx:if>
-    </forrest:hook> 
-

You can as well use the above aggregated to a tiles, like:

-
<jx:import uri="cocoon://prepare.tiles.solrbar"/>
+ </forrest:hook> +
+

+ You can as well use the above aggregated to a tiles, like: +

+
+<jx:import uri="cocoon://prepare.panels.solrbar"/>
+      

Solr activation

-

The host server urls can be configured by adding the following properties to your - project forrest.properties.xml in case you do not use the default values.

-
<property name="solr.select.url" value="http://localhost:8983/solr/select"/>
-<property name="solr.update.url" value="http://localhost:8983/solr/update"/>
-

In your solr server add the following field definitions to the schema.xml. We assume - "id" is already set as "uniqueKey" and you changed the "defaultSearchField" to - "content" otherwise you need to prefix your queries.

-
<field name="content" type="text" indexed="true" stored="true" />
+

+ The host server urls can be configured by adding the following + properties to your project forrest.properties.xml in case you do not use + the default values. +

+
+<property name="solr.select.url" value="http://localhost:8983/solr/select"/>
+<property name="solr.update.url" value="http://localhost:8983/solr/update"/>
+      
+

+ In your solr server add the following field definitions to the + schema.xml. We assume "id" is already set as "uniqueKey" and you changed + the "defaultSearchField" to "content" otherwise you need to prefix your + queries. +

+
+<field name="content" type="text" indexed="true" stored="true" />
 <field name="title" type="text" indexed="true" stored="true"/>
 <field name="subtitle" type="text" indexed="true" stored="true"/>
 <field name="abstract" type="text" indexed="true" stored="true"/>
 <field name="version" type="text" indexed="true" stored="true"/>
-<field name="author" type="text" indexed="true" stored="true" multiValued="true"/> 
+<field name="author" type="text" indexed="true" stored="true" multiValued="true"/> +

Samples

-

This section includes links to a number of samples using this plugin. The plugin is - intended to be self documenting through these samples. If you require further help - please ask on the user mailing list.

+

+ This section includes links to a number of samples using this plugin. + The plugin is intended to be self documenting through these samples. If + you require further help please ask on the user mailing list. +

-

Aboves pages suffixed with - .do.html will trigger the underlying statment on the solr server. We - do not link them in this document since the links would be crawled. This is as well the - reason why the gui is deactivated. Each the gui would trigger the delete, - add, commit and optimze statement against the solr server for every page.

+

+ Aboves pages suffixed with .do.html will trigger the + underlying statment on the solr server. We do not link them in this + document since the links would be crawled. This is as well the reason + why the gui is deactivated. Each the gui would trigger the delete, add, + commit and optimze statement against the solr server for every page. +

@@ -331,7 +362,7 @@
+ 2002-2007 The Example Organisation. +
-
+
+ + Font size: +   +   +   +
-

success in solr operation

+

error in solr operation

@@ -199,8 +207,41 @@

solr server response

-

Command: index.solr.add

-

Success.

+

+ Command: + index.solr.add

+
+
Warning
+
+ There was a problem: + org.apache.solr.core.SolrException: ERROR:unknown field 'title' + at org.apache.solr.update.DocumentBuilder.addField(DocumentBuilder.java:95) + at org.apache.solr.update.DocumentBuilder.addField(DocumentBuilder.java:75) + at org.apache.solr.handler.XmlUpdateRequestHandlerStax.readDoc(XmlUpdateRequestHandlerStax.java:337) + at org.apache.solr.handler.XmlUpdateRequestHandlerStax.processUpdate(XmlUpdateRequestHandlerStax.java:172) + at org.apache.solr.handler.XmlUpdateRequestHandlerStax.update(XmlUpdateRequestHandlerStax.java:377) + at org.apache.solr.handler.XmlUpdateRequestHandlerStax.doLegacyUpdate(XmlUpdateRequestHandlerStax.java:389) + at org.apache.solr.servlet.SolrUpdateServlet.doPost(SolrUpdateServlet.java:59) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:616) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) + at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) + at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) + at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:137) + at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) + at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) + at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) + at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) + at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) + at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) + at org.mortbay.http.HttpServer.service(HttpServer.java:909) + at org.mortbay.http.HttpConnection.service(HttpConnection.java:820) + at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) + at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) + at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) + at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) + at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) +
+
@@ -211,7 +252,7 @@
+ 2002-2007 The Example Organisation. +
-
+
+ + Font size: +   +   +   +
-

Site Linkmap

+

Site Linkmap Table of Contents

-
- -
- -

Table of Contents

-
+

+ This is a map of the complete site and its structure. +

  • -org.apache.forrest.plugin.output.solr   _________________________  site +org.apache.forrest.plugin.output.solr  ___________________  site
    • -
      • -About   _________________________  about +About  ___________________  about
          • -Index   _________________________  index -
          • +Index  ___________________  index : Welcome to org.apache.forrest.plugin.output.solr
          • -Screenshots   _________________________  screenshots -
          • +Screenshots  ___________________  screenshots : screenshots of org.apache.forrest.plugin.output.solr
          • -Plugins Index   _________________________  forrestPlugins -
          • +Plugins Index  ___________________  forrestPlugins : Index of Forrest Plugins
          • -Changes   _________________________  changes -
          • +Changes  ___________________  changes : History of Changes
          • -Todo   _________________________  todo -
          • +Todo  ___________________  todo : Todo List
      - - -
-
@@ -254,7 +245,7 @@ + 2002-2007 The Example Organisation.