Johannes Schaefer wrote:
...
So far this works fine.
Now I need to insert the search term dynamically from the form on the page. I simply don't know how to do that. Do I need to create a Cocoon action?
One way would be to use the request generator in Cocoon ( http://cocoon.apache.org/2.1/userdocs/generators/request-generator.html ). This gives you the request headers as an XML stream.
Problem is you are only allowed one generator in each pipeline so you would have to do the search using the XSL Document() function.
This doesn't seem very nice since we are moving some of the logic into an XSL sheet. I'm sure Cocoon must provide another way.
And as I'm writing this: this is only a "live" solution ... and here we have Lucene. Hum.
But google desktop does much more than search the Forrest site right?
I can image this being useful in some fairly specialised situations, but if you are after being able to search Forrest docs then you are probably right in that it presents no benefit of lucene.
Ross
