I'm currently developing a React application that interacts with an ArcGIS Portal. I'm attempting to filter out deprecated items from my query results using the contentStatus parameter or other means, but I'm encountering difficulties. Despite including -contentStatus:"deprecated" in my query, deprecated items are still being returned in the results.
I've reviewed the ArcGIS Portal documentation and tried various approaches, but none seem to work as expected. Can anyone provide guidance on the correct way to filter deprecated items from ArcGIS Portal queries? Are there alternative methods or parameters that I should be using?
I appreciate any insights or suggestions you can provide. Thank you!