Bill French wrote:
 
> thanks for your reply. do i generate the index once statically and then
> keep the index somewhere, or generate it every time the user performs a
> search? how do i go about limiting my results to those matching search
> terms?
 
The index transformer generates the index and keeps it by default in a folder called 
"index" in the Cocoon work directory. You can specify a different folder using the 
"directory" attribute of the lucene:index element. You only need to run the 
LuceneIndexTransformer pipeline when your content has changed and you want to update 
the index ... you certainly don't have to reindex whenever you want to search!
 
But the transformer only generates the index: to search the index you should use the 
SearchGenerator, which is well-documented on the Cocoon website.
 
Cheers
 
Con

Reply via email to