This discussion is archived
2 Replies Latest reply: Jun 25, 2008 7:29 AM by 560578 RSS

How to exclude trash folders from search results?

533021 Newbie
Currently Being Moderated
Hi,
using content services webservice API's SearchManager I can make searches from OCS documents. If I recurse into subfolders how can I exclude deleted files from the results? The search will return folder's in trash folders also. Files in trash have the IN_TRASH attribute as true and this can be used to exclude them from search results afterwards but is there anyway to have the search automatically exclude deleted files?