Carlos Villegas wrote:
Maybe you can add a condition like the following, in the corresponding basicsearch syntax:I don't think that work. Because the slide implementation of basicsearch (in slide 2.0; i don't know if heavy changes have been made since)
... AND (NOT (DAV:displayname EQ "cms") )
create a pool with all nodes (from base uri with sp�cified depth) and then remove all node that don't match where condition. ... ... if you test displayname, /files/cms will not be returned but children can match.
ps: correct me if i don't understand the problem well ... but you don't want to search/find any of cms and its decendants.
or use some property that uniquely identifies the /files/cms collection.
There seems to be a proposal for extending the scope element precisely to support this type of filtering based on URL patterns. New elements exclude-lastpathsegment and include-lastpathsegment are added but I don't think Slide supports them yet.
Carlos
Eirikur Hrafnsson wrote:
>>sent again to the developer list since I got no response on the userlist.
Hi,
how can I exclude a directory in a recursive/deep DASL search? I want to search "/files" and subfolders but not "/files/cms".
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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
