none
Windows Search is not displaying my own Filter handler Custom Properties. RRS feed

  • Question

  • Hi,

    I have created a Filter Handler for my file format and registered and indexed. Windows Search is not searching my custom properties (PKEY_CUSTOM_TEXT, PKEY_CUSTOM_DATE, PKEY_CUSTOM_NUMBER) present in my file whereas all system defined properties (Author, Title , Subject, Keywords) are searchable.

    filtdump.exe is showing all custom properties from my file. Only problem is Windows Search is not searching my file format with custom property value search. 'No items match your search' is displayed in Windows Explorer.

    IFILTER: Using IInitializeWithStream

    CHUNK: ---------------------------------------------------------------
        Attribute = {F29F85E0-4FF9-1068-AB91-08002B27B3D9}\2 (System.Title)
        idChunk = 1
        BreakType = 0 (No Break)
        Flags (chunkstate) =  (Value)
        Locale = 0 (0x0)
        IdChunkSource = 0
        cwcStartSource = 0
        cwcLenSource = 0

    VALUE: ---------------------------------------------------------------
    Type = 31 (0x1f), VT_LPWSTR
    Value = "Custom Property Test" <--This text is searchable in Windows Search

    CHUNK: ---------------------------------------------------------------
        Attribute = {F29F85E0-4FF9-1068-AB91-08002B27B3D9}\4 (System.Author)
        idChunk = 2
        BreakType = 0 (No Break)
        Flags (chunkstate) =  (Value)
        Locale = 0 (0x0)
        IdChunkSource = 0
        cwcStartSource = 0
        cwcLenSource = 0

    VALUE: ---------------------------------------------------------------
    Type = 31 (0x1f), VT_LPWSTR
    Value = "SDI" <--This text is searchable in Windows Search

    CHUNK: ---------------------------------------------------------------
        Attribute = {F29F85E0-4FF9-1068-AB91-08002B27B3D9}\3 (System.Subject)
        idChunk = 3
        BreakType = 0 (No Break)
        Flags (chunkstate) =  (Value)
        Locale = 0 (0x0)
        IdChunkSource = 0
        cwcStartSource = 0
        cwcLenSource = 0

    VALUE: ---------------------------------------------------------------
    Type = 31 (0x1f), VT_LPWSTR
    Value = "Custom Property" <--This text is searchable in Windows Search

    CHUNK: ---------------------------------------------------------------
        Attribute = {F29F85E0-4FF9-1068-AB91-08002B27B3D9}\6 (System.Comment)
        idChunk = 4
        BreakType = 0 (No Break)
        Flags (chunkstate) =  (Value)
        Locale = 0 (0x0)
        IdChunkSource = 0
        cwcStartSource = 0
        cwcLenSource = 0

    VALUE: ---------------------------------------------------------------
    Type = 31 (0x1f), VT_LPWSTR
    Value = "SDTM Custom Property" <--This text is searchable in Windows Search

    CHUNK: ---------------------------------------------------------------
        Attribute = {F29F85E0-4FF9-1068-AB91-08002B27B3D9}\5 (System.Keywords)
        idChunk = 5
        BreakType = 0 (No Break)
        Flags (chunkstate) =  (Value)
        Locale = 0 (0x0)
        IdChunkSource = 0
        cwcStartSource = 0
        cwcLenSource = 0

    VALUE: ---------------------------------------------------------------
    Type = 31 (0x1f), VT_LPWSTR
    Value = "SDTM" <--This text is searchable in Windows Search

    CHUNK: ---------------------------------------------------------------
        Attribute = {3963E11F-15E2-4D28-9E30-A1CF24EB9798}\205 (Unknown)
        idChunk = 6
        BreakType = 0 (No Break)
        Flags (chunkstate) =  (Value)
        Locale = 0 (0x0)
        IdChunkSource = 0
        cwcStartSource = 0
        cwcLenSource = 0

    VALUE: ---------------------------------------------------------------
    Type = 3 (0x3), VT_I4
    Value = "1100" <--This text is not searchable in Windows Search

    CHUNK: ---------------------------------------------------------------
        Attribute = {3963E11F-15E2-4D28-9E30-A1CF24EB9798}\210 (Unknown)
        idChunk = 7
        BreakType = 0 (No Break)
        Flags (chunkstate) =  (Value)
        Locale = 0 (0x0)
        IdChunkSource = 0
        cwcStartSource = 0
        cwcLenSource = 0

    VALUE: ---------------------------------------------------------------
    Type = 64 (0x40), VT_FILETIME
    Value = "2019/12/06:00:00:00.000" <--This text is not searchable in Windows Search

    Kindly help to resolve this.

    Regards,
    Ashok



    Friday, June 14, 2019 7:01 AM