[EMAIL PROTECTED]">Just don't expect too much, it is just a first shot.... i hope you manage to make it run at your site...Wow, sounds very cool. How do you feel about sharing/donating that code?
I'd very interesting in working on that.
Just a lot of stuff is not configurable having had time to implement it yet...
* install a lucene.jar from the lucene site
* the lucene index is created in <work-dir>/index.
* create the index by requesting: createindex.xsp
* search the index by requesting: searchindex.xsp, entering a query string, having skipped implementing a paging if lots of matches are
found...
* see statistics about the created index using statisticindex.xsp, my be used to help searching more effectifly
* load my.roles for declaring the new avalon components regarding indexing&searching
DocumentHandler parses the XML document, implements the XML to lucene Document generation,
and creates the fiels of the lucene document,
Lucene document does NOT store any xml content,
Perhaps you find some better design, currently I didn't implement any SitemapComponents, just
pure avalon componets, all named "Simple*Impl.java", interfaces named "*.java".
Perhaps you find some desing fitting the components into generator, transformer, serializer pattern,
i thought about it but i gave up, coming up with this more general solution, perhaps
even the ParentCM may be used?
Some feeling about searching:
Index Search
Search Help
SearchResult: Total Hits: 13
[EMAIL PROTECTED]">I will check it out...
The Cocoon CLI does crawling internally without the overhead of HTTP
requests.
Follow the flow at Cocoon.main() to know how that is done.
bye bernhard