thank you for your help, con.

right now, i've got this in my sitemap:

                        <!-- generate index -->
                        <map:match pattern="genindex">
                                <map:generate src="xml/siteindex.xml" type="file"/>
                                <map:transform type="index"/>
                                <map:serialize type="xml"/>
                        </map:match>
                        
                        <!-- search, take 2 -->
                        <map:match pattern="search">
                                <map:generate type="search"/>
                                <map:transform 
src="xsl/xhtml/search/searchresults.xsl"/>
                                <map:serialize type="xhtml"/>
                        </map:match>

pointing my browser to localhost:8080/genindex gives me 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
genindex

cause
java.lang.NullPointerException

request-uri
/genindex

siteindex.xml is a file i generated statically on my own, based on all of my xml content docs. hitting search now returns just the following:

<?xml version="1.0" encoding="UTF-8"?>

do i want to be generating my index as i am above?

i really appreciate all your help. i'm new to cocoon and some of the concepts are still a little bewildering. ;)

thanks,

--bill



On Thursday, August 14, 2003, at 07:56 PM, Conal Tuohy wrote:

Hi Bill.

Yes you are confused: you should have 2 distinct pipelines: one to create or update the index (using the LuceneIndexTransformer) and a separate pipeline to search the index (using SearchGenerator).

Con

        -----Original Message-----
        From: Bill French [mailto:[EMAIL PROTECTED]
        Sent: Fri 15/08/2003 12:59 p.m.
        To: [EMAIL PROTECTED]
        Cc:
        Subject: another question on search
        
        
        



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to