On 31.1.2005, at 20:36, Honor� David wrote:

Carlos Villegas wrote:

Maybe you can add a condition like the following, in the corresponding basicsearch syntax:

... AND (NOT (DAV:displayname EQ "cms") )

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)
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.
Can't I use like '/files/cms%' ?
That should cover the children also right?



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]



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]



Reply via email to