Sanin

Regards.

I am writing a custom PH/IFilter for a business application. I understand that there is a way to "inform" the engine about a certain entity "owning" an attachment and then indexing it.

I, however, cannot find any documentation on how that is accomplished. Any pointers appreciated.

Thank you.

Sanin




Re: Windows Desktop Search Development Indexing attachments -- custom IFilter?

Sanin

Ok, so no one responds to this...Let me try to rephrase:

what is the process of properly informing the indexer of the fact that my item "has attachments" I see PKEY_Message_HasAttachments (VT_BOOL), but I wonder what setting this will really do. Can someone explain

What about PKEY_ContainedItems and PKEY_Message_AttachmentNames How do I use those (if I have to use them at all) For PKEY_ContainedItems it is stated that I have to output the GUID that represents a type -- which type GUID of a file type

And at which point (and how) do I output the list of attachments so that they can be indexed Do I just sent them as children

Please, I am stuck, any help is appreciated.

Thank you.

Sanin






Re: Windows Desktop Search Development Indexing attachments -- custom IFilter?

Eric Wolz - MSFT

PKEY_Message_HasAttachments is a display only property used to form a restricted query for only email items that contain attachements. This is not used by the indexer.

PKEY_ContainedItems is an application only property. This is not used by the indexer or Windows.

PKEY_Message_AttachmentNames is also a display only property, which is used to form a restricted query for email items that contain attachments of the given filename. This is not used by the indexer.

To form a hierarchical relationship between attachments and the containing message, then the attachments items need to be emitted as child items of the message. The following is an example of the URL of an Outlook item and the attachment item.

mapi://{S-1-5-21-2127521184-1604012920-1887927527-25114}/Personal Folders($19ac7270)/X/Inbox/)0A0B0C0D
mapi://{S-1-5-21-2127521184-1604012920-1887927527-25114}/Personal Folders($19ac7270)/X/Inbox/0A0B0C0D/AT=New Text Document.txt






Re: Windows Desktop Search Development Indexing attachments -- custom IFilter?

Sanin

Thank you Eric, I appreciate your help.