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?
I found out that the IS_IN_TRASH attribut is a top level attribute and could be used
on a search query to obtain the attribute on the results ..and then be able to filter out the results based on this attribute. But the search still returns the items that are IN_TRASH.
Is there a way to prevent this? To have the search filter out by itself the IN_TRASH flagged items?