Hi all,

when working with a flat directory hierarchy the "lucene.index" usecase
does not work anymore. Well I thought that this should not matter for me
since ATM I do not need search.

...but I was dead wrong!

For example
src/webapp/lenya/config/cocoon-xconf/usecases/site/usecase-site-cut.xconf
is refering to the above mentioned usecase:
...
      <exit usecase="lucene.index">
        <parameter name="indexAction" value="delete"/>
        <parameter name="indexArea" value="authoring"/>
        <parameter name="lenya.exitUsecase" value="tab.overview"/>
      </exit>
...

I can understand that triggering the indexing usecase when
moving/deleting/creating/... documents makes sense but I strongly
disagree to create such dependencies via exitUsecase in the usecase
config files.

We should remove all such declarations in our usecases and have a
central document listener that will handle all events around the
documents. This way we do not have to use this verbose "dependency
magic" which needs a high level of understanding usecases and is hidding
the "real" problem (in my case that actually lucene is failing).

wdyt?

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


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

Reply via email to