Am I just thick or is there a particular reason that this entry
in my sitemap doesn't do what I think it should?

<map:match pattern="findIt">
  <map:generate type="search">
    <map:parameter name="index" value="website-index"/>
  </map:generate>
  <map:serialize/>
</map:match>

I would expect that would tell the SearchGenerator class to use the
index in the working directory called "website-index" instead of the
default "index". Instead I get a big ol' error from the SearchGenerator
that says

org.apache.cocoon.ProcessingException: IOException in search:
java.io.IOException:
D:\java\jakarta-tomcat-4\work\localhost\cocoon\cocoon-files\index not a
directory 
Yes there's a directory called "website-index" in the working directory
and an index has been generated in it. I just can't seem to convince
SearchGenerator to look at it instead of the default "index".

So what have I missed?

Thanks,
Dan

> -- 
> Dan Everton
> Engineering Infrastructure Coordinator
> Central Engineering, Boeing Australia Limited
> Phone: +61 07 3306 3288  --  Email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to