Here is proposal for an index engine intregration like Lucene. This is a starting point and need to be review.
Let me know if it is not really what you expected.
Christophe,
thanks for letting us participate :) I had a look at it, but am no expert neither in searching nor in Lucene and I would be interested what Stefano or Erik have to say.
Anyway, these are my comments:
* Is it necessary to index the document properties or only the content ? I expect to have faster queries if we index the content properties. Maybe we can provide both methods.
To have this query stuff really useful we need fast and scalable searching of properties. I thought Stefano proposed to unconditionally use an RDBMS for this purpose. I'd say this is one way to go, but it still would be nice to have a Lucene solution. There was this Lucene thread in this list mainly by Stefano and Erik. Have a look at it...
* Integration with the current Search features ? How did you see that ?
I hope Martin Wallmer can say something on this particular topic. But isn't public SearchQueryResult search(String parentUri, SearchQuery query) the right place to do the connection?
* security integration - How to apply security in the IndexHelper.search() method in order to be very fast ?
Not sure if I understand you correctly. Do you think of the problem people should not be allowed to search over content they do not have access to? If so, I'd propose to do it the other way round. Index and search over all documents, but filter the result using authentication info. This would be fast, wouldn't it?
* IndexContentInterceptor has to call the indexhelper asynchrously. I have to read more info on mutlithreading issues within Lucene
I do not quite understand why you use interceptors here. Why don't you just augment AbstractStore/ExtendedStore to call the configured IndexStore as well? This would be in storeObject, commit, etc.
Oliver
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
