Hi guys!
On 6.1.2005, at 13:35, Karl �ie wrote:
Yes, the index i am creating is not used by Slide at all but a legacy webapp operating on a lucene directory. The IndexTrigger and Index system is really clever for maintaining indexes that is not integrated into Slide. As Stefan points out DASL search will not be available by doing this and i would not advice you to index these document into the same lucene index as Slide uses.First thanks a lot to both of you for taking the time to answer all my annoying questions, I hope this thread helps other developers also...
The reason for this is that Lucene is a indexing toolkit, and allows you to create any document->field strategy you want. By using the IndexTrigger i can update a lucene index that has a different strategy than DASL, and therefor not compatible with the DASL searchers that requires a DASL strategy for searching. If you got just a few days i would advice you to do this.
Mvh Karl �ie
I'm really thinking about taking your advice Karl and use a listener. What do I have to register to Domain.xml for that exactly? Just the listener itself or do I have to activate Lucene in some way?
Any code example for a listener you might be willing to send me to get started?
What do you do about security though? I think DASL ensures your search only returns allowed entries according to who is logged on (via webdavresource) but I would think you have to somehow filter the search results afterwards if you maintain your own indexer?
Hmmm? Now your just confusing me on purpose hehehe ;)greeeeat...so Lucene only really works in 2.2 but the webdav servlet doesn't so basically I can't search because I have to the WebdavServlet mapped to "/content/"?????
The issue in 2 was: the DASL stuff only works if the WebdavServlet is mapped to "/" (Note: this does not mean the mapping of the slide web application). This is resolved in 2.2.
You say " only works if the WebdavServlet is mapped to "/" (Note: this does not mean the mapping of the slide web application)" what other mapping is there? As I understood your last reply it would only work if the servlet is mapped to "/" meaning the root of the context. Do you mean the root of the Slide repository e.g. where /roles, /users are? If so then I'm back in business!
You also say "This is resolved in 2.2", so is it resolved in the HEAD version but just still mentioned as unresolved in the Release notes?
Sorry for being completely stupid....
Best Regards
Eirikur S. Hrafnsson, [EMAIL PROTECTED] Chief Software Engineer Idega Software http://www.idega.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
