please forgive the ceaseless questions on lucene searching. i'm using cocoon 2.1 and the LuceneIndexTransformer to index my documents. i wrote a transformation that builds an index (it's called siteindex.xml) according to the spec at http://wiki.cocoondev.org/Wiki.jsp?page=LuceneIndexTransformer. i have the following in my sitemap, which is obviously the problem:
<!-- search --> <map:match pattern="search"> <map:generate src="xml/siteindex.xml" type="file"/> <map:transform type="index"/> <map:transform src="xsl/xhtml/search/searchresults.xsl"> <map:parameter name="requesturi" value="{0}"/> </map:transform> <map:serialize type="xhtml"/> </map:match>
i'm getting the following error:
Internal Server Error
Message: Failed to execute pipeline.
Description: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.NullPointerException
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
Request URI
search
cause java.lang.NullPointerException
request-uri /search
i'm afraid i can't figure out how to pass the search terms to the cocoon search generator. is this all i'm doing wrong, or am i missing something else, too? an index was created, because there's a bunch of files in my
$TOMCAT_HOME/work/Standalone/localhost/_/cocoon-files/index directory, timestamped according to the first time i requested the search. if you have any pointers or url's to direct me to, i would be most grateful.
oh yes, my environment: mac os 10.2.6 java 1.4.1 tomcat 4.1.24 cocoon 2.1
thanks very much,
--bill
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]