Click here to get back home

IFilter keywords

 HomeNewsGroups | Search | About
 microsoft.public.msn.search    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
IFilter keywords EamonnøF¦¢yÝŠÇ.²È¨žÉ¢rº,¡û\¢ 05-30-2005
Posted by EamonnøF¦¢yÝŠÇ.²È¨žÉ¢rº,¡û\¢ on May 30, 2005, 11:51 pm
Please log in for more thread options


I have an IFilter implementation that reports file properties. One of these
properties is 'keywords' for which there can be multiple values. My IFilter
returns each keyword separately so the output of filtdump looks something
like this:

----------------------------------------------------------------------
                Attribute = F29F85E0-4FF9-1068-AB9108002B27B3D9
                idChunk = 2
                BreakType = 2 (Sentence)
                Flags(chunkstate) = 0x2 (Value)
                Locale = 1033 (0x409)
                IdChunkSource = 2
                cwcStartSource = 0
                cwcLenSource = 0
----------------------------------------------------------------------
Type = 31 (0x1f): keyword1

----------------------------------------------------------------------
                Attribute = F29F85E0-4FF9-1068-AB9108002B27B3D9
                idChunk = 3
                BreakType = 2 (Sentence)
                Flags(chunkstate) = 0x2 (Value)
                Locale = 1033 (0x409)
                IdChunkSource = 3
                cwcStartSource = 0
                cwcLenSource = 0
----------------------------------------------------------------------
Type = 31 (0x1f): keyword2

This all seems to work just fine with the Windows XP indexing service. The
problem is that using MSN Desktop Search, I can search on the first keyword
reported but not subsequent values.

Looking at Adobe's PDF IFilter implementation, I see the that filtdump
returns a single keyword property with semicolon separated values:

----------------------------------------------------------------------
                Attribute = F29F85E0-4FF9-1068-AB9108002B27B3D9
                idChunk = 3
                BreakType = 2 (Sentence)
                Flags(chunkstate) = 0x2 (Value)
                Locale = 1033 (0x409)
                IdChunkSource = 3
                cwcStartSource = 0
                cwcLenSource = 0
----------------------------------------------------------------------
Type = 31 (0x1f): keyword1; keyword2

This however isn't ideal since it would not allow for exact matches on
individual keywords.

Can someone explain why MSN Desktop Search appears to be ignoring all but
the first value of multi-value properties?

eamonn


Similar ThreadsPosted
Keywords filtering working wrong? June 16, 2005, 3:00 pm
CRM 3.0 Ifilter June 2, 2006, 2:39 pm
iFilter for MS Money May 19, 2005, 8:13 am
IFilter Preview November 25, 2005, 2:22 pm
IFilter Preview November 25, 2005, 2:29 pm
WDS IFilter sample November 28, 2005, 7:03 am
Adobe iFilter does not work May 19, 2005, 8:00 am
ifilter for MSN desktop Search January 26, 2006, 11:20 pm
GetChunk is not calling my IFilter November 23, 2005, 11:02 am
How to implement IFilter GetValue()? July 24, 2006, 9:09 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap