Hi Support,
I'm using my IPXV_SearchCallback implementation for the op.search operation started via SearchView pane
Is there a way to skip some documents by handling the OnNewEntry (OnStartPtr/OnStopPtr) when doing a folder (+subfolders) search?
Say I'm searching in \folder and it has two subfolders:
\folder\sub1
\folder\sub2
I need the search *not* to include (some) documents from "sub1" subfolder.
I've tried returning E_NOTIMPL (S_False, E_Fail, ...) in OnNewEntry when PXV_SearchPtrChunk_Document - but it does not work - document (and search results) is still added to the results list.
ps
I know how to "skip" documents when searching "in all open documents".
-žarko
IPXV_SearchCallback - skip some documents in folder search SOLVED
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
Re: IPXV_SearchCallback - skip some documents in folder search SOLVED
Figured out how to do it
-ž
-ž
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
IPXV_SearchCallback - skip some documents in folder search
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ