On Fri, 2006-03-24 at 16:38 +0100, Andreas Hartmann wrote:
> Josias Thöny wrote:
[...]
> > There are still open issues about lucene search,
e.g. it still uses the
> > exit-usecase to trigger indexing.
>
> JCR provides an observation mechanism, I guess we need
something
> similar for documents (e.g., to trigger the indexing).
+1
Do you have an idea how the triggering could work?
Maybe changing the content of documents should happen behind
the Lenya
API, something like
document.save(inputStream)
or
documentManager.saveDocument(document, inputStream)
(it would read the inputstream and write it into the
document)
then the document or the documentManager could notify any
"document
change listeners".
Or would that be the job of each individual code block which
changes
documents, like e.g. OneFormEditor.java?
WDYT?
Josias
>
> -- Andreas
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe lenya.apache.org
For additional commands, e-mail: dev-help lenya.apache.org
|