Indexing Windows Live Writer posts

by Matt 9. April 2008 10:44

While googling for something else, I came across a post that pointed out that Windows Live Writer's saved posts aren't being indexed. Well, the contents weren't - only the file properties. Which is odd, because WLW comes with an IFilter - a plugin that exposes the contents of a .wpost file to Windows Search's index.

image

The article mentions that you can fix this by going to the Indexing Options in the control panel (and going to Advanced -> File Types), selecting the wpost extension, and changing the radio button from "Index Properties Only" to "Index Properties and File Contents".

This works, but not as you expect. It's not using the Windows Live Writer IFilter.

When you select "Index Properties Only", the registered filter is removed from the file type. If a file has no filter registered, the indexer will use the system provided "File Properties Filter", which extracts various properties such as filename, size, dates (and maybe the OLE DocFile structured storage properties) but doesn't touch the contents.

Selecting "Index Properties and File Contents" doesn't magically wire up the correct filter. Instead, it registers the "Plain Text Filter", which just extracts as much text out of the file as it can, and then hands it to the indexer as content. You can use it on arbitrary binary files, but it won't understand the file format, so won't be able to output more advanced properties, such as Author, Subject or Perceived Type. If you try to use the advanced search features of explorer to find blog posts with a certain subject, it will fail. Not too much of a hardship, perhaps, because the text will still match the full content search, but by missing the Perceived Type, the indexer doesn't know if it's a document, email, picture, audio, video or whatever. Bang goes your filtering.

We can fix this, but let's see why it wasn't registered in the first place. A great tool to help with this is Citeknet's IFilter Explorer.

 IFilter Explorer - Citeknet

Take a look for the .wpost extension. It's not there. Now we know why the proper filter wasn't being used - it's not registered.

You might have noticed the bewildering array of tabs across the top of the list. Windows Search shares a history with a long line of search products from Microsoft, from server side search engines such as SQL Server full text search, Sharepoint and Exchange search, to desktops, with Windows Search (3.x), Windows Desktop Search (2.x - MSN Desktop Search), Indexing Service and even the aborted WinFS.

On a hunch, check out Windows Desktop Search 2.x.

There it is. The .wpost extension has the WebPostFilter class registered against it.

And that's because despite sharing ancestry and the IFilter technology, registration between the different implementations can be subtly (and not so subtly) different. For example, the SQL Server registration needs extra data in a system table.

There does appear to be a common thread amongst registrations, though, and this is partly described in the docs for the current version of Windows Search. Namely, registration hangs off the file extension in the registry, or off the document type pointed to by the file extension. Or even from the MIME content type (which I didn't know worked, but explains why so many xml files are indexed).

Windows Desktop Search 2.x simply had some overrides that were checked before the system defined places, and the Windows Live Writer developers chose to register it there:

HKLM\SOFTWARE\Microsoft\RSSearch\ContentIndexCommon\Filters\Extension\.wpost

Now we know what the problem is, it's pretty straight forward to fix. We just need to deal with the mind-bogglingly odd way of registering IFilters.

Hanging off the file extension, the document type or the MIME type, you need to add a key called "PersistentHandler". This has a GUID that is stored in HKLM\CLSID. That GUID has a key called PersistentAddinsRegistered, which has another subkey named after the interface IID for IFilter. The default value of this is a CLSID for the IFilter COM object.

Phew.

I have absolutely no idea why they added that bonkers level of abstraction, but it's been there for years, so who are we to argue with tradition. To make it easy, save this as a .reg file and double click:

[HKEY_CLASSES_ROOT\.wpost]

[HKEY_CLASSES_ROOT\.wpost\PersistentHandler]
@="{60734E5A-7C25-479f-B101-F14DEAF5ACB6}"

[HKEY_CLASSES_ROOT\CLSID\{60734E5A-7C25-479f-B101-F14DEAF5ACB6}]
@="Windows Live Writer persistent handler"

[HKEY_CLASSES_ROOT\CLSID\{60734E5A-7C25-479f-B101-F14DEAF5ACB6}
\PersistentAddinsRegistered]

[HKEY_CLASSES_ROOT\CLSID\{60734E5A-7C25-479f-B101-F14DEAF5ACB6}
\PersistentAddinsRegistered\{89BCB740-6119-101A-BCB7-00DD010655AF}]
@="{4DFA66FF-1EE1-4BAF-A034-0023FB7372EB}"

[HKEY_CLASSES_ROOT\CLSID\{60734E5A-7C25-479f-B101-F14DEAF5ACB6}
\PersistentHandler]
@="{60734E5A-7C25-479f-B101-F14DEAF5ACB6}"

Note that I've wrapped a couple of lines for legibility. Oh, and that PersistentHandler GUID? Brand new one. Never before used. ({60734...} that is. {89BCB...} is the IID for IFilter and {4DFA6...} is the CLSID of the Windows Live Writer filter).

Advanced Options

Now you just have to get the indexer to re-index those files, and Bob's yer uncle. I took the lazy route, and just rebuilt the whole index (Control Panel -> Indexing Options -> Advanced -> Rebuild).

Painless, eh? What I want to know now, is what does the null filter do?

Tags:

Windows Desktop Search

Comments (57) -

deals for dudes
deals for dudes
5/6/2011 9:52:19 AM #

Pretty insightful publish. Never believed that it was this simple after all. I had spent a good deal of my time looking for someone to explain this subject clearly and you’re the only one that ever did that. Keep it up

Reply

LAURENCE  Debora
LAURENCE Debora
5/22/2011 4:56:09 AM #

Recherche thématique sur plusieurs thèmes, c'est sukoga.com, moteur.

Reply

LAURENCE  Debora
LAURENCE Debora
5/27/2011 8:32:01 AM #

Liste d'annuaires détaillées pour faciliter le référencement, Créez votre propre article.

Reply

best suv reviews
best suv reviews
7/20/2011 10:23:32 PM #

hi!,I like your writing so so much! proportion we communicate extra about your post on AOL? I require a specialist in this area to unravel my problem. May be that's you! Taking a look forward to see you.

Reply

iphone 4 g
iphone 4 g
7/23/2011 8:11:27 PM #

Una pagina sarà dedicata agli accessori, una alle giacche e ai giubbotti. Troverai le indicazioni per lo spaccio o negozio Moncler più vicino a casa tua e tutte le offerte più vantaggiose di questo prestigioso marchio.

Reply

first direct loans
first direct loans
8/2/2011 9:13:11 PM #

Hi,what an excellent article this is,I found it on bing and I like it very much,I agree with what you have said, lots of things will be learned form your site,but I still have some questions with the last part,can you explain it for me ?I will appreciate your answer,and I will be back again!

Reply

sökoptimering
sökoptimering
8/29/2011 2:44:09 AM #

Never believed that it was this simple after all. I had spent a good deal of my time looking for someone to explain this subject clearly and you’re the only one that ever did that.

Reply

Peter
Peter
11/10/2011 5:56:59 PM #

Excellent article, plenty of helpful knowledge.

Reply

Philix
Philix United States
11/20/2015 7:57:14 AM #

good site

Reply

Arlie Toth
Arlie Toth United States
1/15/2016 6:44:33 AM #

this is awesome like the book of awesome

Reply

Georgeanna Carrigg
Georgeanna Carrigg United States
1/15/2016 7:19:46 AM #

this is awesome like the book of awesome

Reply

Rueben Derosa
Rueben Derosa United States
1/15/2016 7:49:10 AM #

yeah, except the "dolphin saving you" one

Reply

Jose Bacone
Jose Bacone United States
1/15/2016 8:31:05 AM #

this is awesome like the book of awesome

Reply

Allene Kazmi
Allene Kazmi United States
8/25/2016 4:03:10 AM #

Hi First of all I would like to say what a nice blog! I had a short question that I’d like to inquire if you don’t mind. I was curious to comprehend how you center yourself and clear your thoughts prior to writing. I’ve had trouble clearing my thoughts in getting my mind out. I do enjoy posting blog but it just seems like the first 10 to 15 minutes are wasted simply just trying to figure out how to start. Any thought or tips? Thank you!

Reply

apk games free download
apk games free download United States
4/10/2017 9:57:49 PM #

check this service, it also may download apk directly from Google Play: http://www.apksmart.com

Reply

Matthew C. Kriner
Matthew C. Kriner United States
12/6/2017 5:47:29 AM #

Reply

Merle Poinson
Merle Poinson United States
8/30/2018 3:34:46 AM #

need help and money advice - go here http://rtwtyinmq4wzzl6d.onion/

Reply

Berenice Loranger
Berenice Loranger United States
9/22/2018 4:02:57 PM #

These guys are the best hackers. I got my EX girlfriends texts in 2 days - http://456bosfo4pgtbrv3.onion - You must use TOR browser to access.

Reply

Harry Giambattista
Harry Giambattista United States
9/27/2018 9:28:42 PM #

Hi! Do you use Twitter? I'd like to follow you if that would be okay. I'm absolutely enjoying your blog and look forward to new updates.

Reply

Morgan Tremayne
Morgan Tremayne United States
9/28/2018 12:20:46 AM #

You must participate in a contest for among the best blogs on the web. I will suggest this web site!

Reply

Ileana Giarratano
Ileana Giarratano United States
9/28/2018 7:02:23 AM #

I simply desired to appreciate you again. I'm not certain the things that I would've used in the absence of the entire thoughts contributed by you about that concern. Certainly was the frustrating setting in my view, but coming across a new specialized mode you dealt with that forced me to jump for contentment. I am happy for the information and in addition hope you really know what a powerful job that you're carrying out teaching people through the use of your blog post. I know that you have never come across all of us.

Reply

Sherilyn Solesbee
Sherilyn Solesbee United States
9/28/2018 10:58:06 PM #

Hey, your blog is very interesting.. Also it was something I’m able to definitely relate to   Ill constantly stop by in your blog so I we do hope you continue making fun and interesting posts such as this one…

Reply

Allen Lucius
Allen Lucius United States
9/29/2018 4:54:11 AM #

There is noticeably big money to comprehend this. I assume you have made particular nice points in features also.

Reply

Yuki Wah
Yuki Wah United States
9/29/2018 8:36:14 AM #

very good submit, i certainly love this web site, carry on it

Reply

Maxwell Erazo
Maxwell Erazo United States
9/29/2018 12:23:09 PM #

I’m impressed, I must say. Really rarely do I encounter a blog that’s both educative and entertaining, and let me tell you, you will have hit the nail on the head. Your concept is outstanding; the difficulty is something that not enough individuals are talking intelligently about. I'm very joyful that I stumbled across this in my seek for one thing relating to this.

Reply

Billie Aaland
Billie Aaland United States
9/29/2018 11:24:28 PM #

I want to voice my passion for your kind-heartedness giving support to people that really want assistance with your situation. Your personal dedication to getting the message throughout was really effective and has surely helped individuals just like me to arrive at their objectives. This insightful tips and hints entails so much to me and a whole lot more to my office colleagues. With thanks; from all of us.

Reply

Victor Kazmer
Victor Kazmer United States
9/30/2018 1:30:25 AM #

Thank you for the good critique. Me and my neighbor were just preparing to do a little research on this. We got a book from our local library but I think I’ve learned better from this post. I am very glad to see such wonderful info being shared freely out there..

Reply

數碼營銷優化工具
數碼營銷優化工具 United States
10/7/2018 7:01:29 PM #

互動性影片

Reply

破產前   (即頒布破產前) 案件分析     : 向您講解各項會受破產影響的問題 (新借貸款、物業、保險單、銀行戶口、退休金、工作、家庭等)。並分析您現在所有債項詳情及現時被追收欠債情況,並提供適當對策。  入紙申請     : 可即日宣誓申請文件並入紙法院排期破產耹訊。 追債問題     : 即時通知債權人破產呈請,停止追數滋擾。 戶口凍結     : 申請解凍銀行戶口,取回被凍結的薪金。 初步訊問表 : 當中部份問題,難以回答,而胡亂作答,會引至被檢控。我們會協助回答訊問表內各方面的問題。 收支申報     : 懂得申報支出就可保留全部或大部份收入來生活。我們會協助你爭取最多生活支出,滿足你的需要

Reply

Marline Topolosky
Marline Topolosky United States
10/9/2018 12:51:24 AM #

Excellent goods from you, man. I have understand your stuff previous to and you're just too excellent. I actually like what you've acquired here, really like what you are saying and the way in which you say it. You make it enjoyable and you still care for to keep it sensible. I can not wait to read much more from you. This is actually a tremendous website.

Reply

Blanche Stibbins
Blanche Stibbins United States
10/9/2018 7:35:33 AM #

There are some interesting time limits on this article however I don’t know if I see all of them center to heart. There is some validity however I'll take hold opinion until I look into it further. Good article , thanks and we would like extra! Added to FeedBurner as nicely

Reply

Fredrick Reiners
Fredrick Reiners United States
10/9/2018 9:58:32 PM #

You actually make it seem so easy with your presentation but I find this matter to be actually something that I think I would never understand. It seems too complicated and extremely broad for me. I am looking forward for your next post, I will try to get the hang of it!

Reply

Rory Kallberg
Rory Kallberg United States
10/10/2018 1:51:06 AM #

Great site you have here but I was curious about if you knew of any message boards that cover the same topics talked about here? I'd really like to be a part of group where I can get advice from other knowledgeable individuals that share the same interest. If you have any recommendations, please let me know. Thanks a lot!

Reply

Raymundo Kiekbusch
Raymundo Kiekbusch United States
10/10/2018 7:50:03 AM #

There are some attention-grabbing deadlines on this article but I don’t know if I see all of them center to heart. There is some validity but I'll take hold opinion until I look into it further. Good article , thanks and we want extra! Added to FeedBurner as effectively

Reply

嫩膚
嫩膚 United States
10/11/2018 12:27:01 AM #

全面潔淨無死角,倩碧音波淨膚儀替換刷頭。

Reply

Ginger Pappenheim
Ginger Pappenheim United States
10/11/2018 8:43:52 AM #

Wow! This can be one particular of the most useful blogs We've ever arrive across on this subject. Actually Excellent. I am also an expert in this topic therefore I can understand your hard work.

Reply

Mckinley Girardeau
Mckinley Girardeau United States
10/11/2018 1:16:04 PM #

I keep listening to the rumor lecture about receiving free online grant applications so I have been looking around for the most excellent site to get one. Could you advise me please, where could i get some?

Reply

Margarett Mercadante
Margarett Mercadante United States
10/11/2018 5:43:55 PM #

Great paintings! This is the type of information that are supposed to be shared across the web. Shame on the search engines for now not positioning this post upper! Come on over and visit my website . Thanks =)

Reply

Lora Urrabazo
Lora Urrabazo United States
10/12/2018 6:47:44 AM #

Hello there,  You've done a great job. I?ll definitely digg it and personally suggest to my friends. I'm sure they'll be benefited from this web site.

Reply

醫學美容 注射 cosmetic.wiki
醫學美容 注射 cosmetic.wiki United States
10/12/2018 6:28:49 PM #

為皮膚送上好夢 - STYLE-TIPS.COM  每次失眠後,皮膚總會將身體的不適反映在皮膚上,翌日醒來除了好像「完全沒睡過」一樣...      

Reply

NEAUVIA,歐洲血統透明質酸,目前遍布於全世界56個國家,行政總部在瑞士,卻是源自於意大利的品牌。採用21世紀先進的技術,提取出前所未有的高純度透明質酸,迅速的在全球攻占市場,卓越的品質,領先的技術和平民的價位,已經逐漸的出現在大眾的視線裡,被越來越的人使用。NEAUVIA以系列分女性專用和男性專用,大中小分子以及唇部專用和私處專用,其中私處專用己經在國內一些比較大的整形機構普遍使用。素材提取無與倫比的純淨,運用嶄新PEG鏈結技術-更安全

Reply

Janet Bressman
Janet Bressman United States
10/13/2018 9:05:12 PM #

Oh my goodness! a wonderful post dude. Thanks a lot However My business is experiencing trouble with ur rss . Don’t know why Can not join it. Possibly there is anyone finding identical rss difficulty? Anyone who knows kindly respond. Thnkx

Reply

Tyron Applen
Tyron Applen United States
10/15/2018 12:34:04 AM #

I liked up to you'll receive performed proper here. The comic strip is attractive, your authored material stylish. however, you command get got an shakiness over that you wish be turning in the following. unwell no doubt come further before again as exactly the same just about very continuously inside of case you defend this increase.

Reply

摩拉達美 x 味全|270天釀造系列.柚子醬油,遵循古法製作,清新口感,風味獨特。 - wenjie - FashionGuide 華人時尚專業評鑑  味全,270天釀造系列《柚子醬油》,NT$115,300ml,選用日本高知柚子汁與醬油完美碰撞,口感清新,去腥解膩,適用於涼拌、沙拉、火鍋沾食等多種用途。...,      

Reply

Wealth Link Credit 富通信貸
Wealth Link Credit 富通信貸 United States
10/15/2018 9:36:22 AM #

大眾財務以優惠之利率向購買物業或物業套現之客戶提供樓宇按揭貸款.

Reply

Seth Giesen
Seth Giesen United States
10/15/2018 12:27:28 PM #

Very happy with the results from http://weightlostthatworks.com looking good in my new jeans.

Reply

Kristian Dufford
Kristian Dufford United States
10/18/2018 1:36:59 AM #

Good post but I was wanting to know if you could write a litte more on this topic? I'd be very thankful if you could elaborate a little bit more. Appreciate it!

Reply

Tanisha Waeckerlin
Tanisha Waeckerlin United States
10/18/2018 11:16:09 PM #

My brother recommended I may like this website. He used to be totally right. This put up truly made my day. You can not imagine simply how a lot time I had spent for this information! Thanks!

Reply

醫學美容 粉撲 cosmetic.wiki
醫學美容 粉撲 cosmetic.wiki United States
10/19/2018 3:17:41 AM #

aromatica 【身體保養】甜蜜香橙保濕噴霧 Sweetie Citrus Body Mist的商品介紹   aromatica,身體保養,甜蜜香橙保濕噴霧 Sweetie Citrus Body Mist       

Reply

Robby Mailman
Robby Mailman United States
10/19/2018 5:14:03 PM #

Youre so cool! I dont suppose Ive learn anything like this before. So good to seek out any person with some unique ideas on this subject. realy thanks for starting this up. this website is one thing that's wanted on the net, somebody with somewhat originality. helpful job for bringing one thing new to the web!

Reply

Shaunta Rizzolo
Shaunta Rizzolo United States
10/20/2018 1:28:29 PM #

This actually answered my downside, thank you!

Reply

Garland Militante
Garland Militante United States
10/21/2018 1:32:02 AM #

Thank you a bunch for sharing this with all of us you really understand what you're speaking approximately! Bookmarked. Kindly also talk over with my web site =). We may have a hyperlink exchange agreement among us!

Reply

Jacob Wildman
Jacob Wildman United States
10/24/2018 1:30:09 AM #

You made some decent points there. I looked on the internet for the subject matter and found most people will consent with your site.

Reply

Tiny Gibraltar earned a surprising 0-0 draw with Slovakia on Tuesday in the British colony's first match as a fully recognised senior international team. Rock solid: Gibraltar hold Slovakia to a goalless draw in their UEFA debut match

Reply

Irwin Mckenney
Irwin Mckenney United States
11/7/2018 1:52:03 AM #

I will immediately grab your rss as I can't find your e-mail subscription link or e-newsletter service. Do you've any? Kindly let me know in order that I could subscribe. Thanks.

Reply

Christopher Hudnall
Christopher Hudnall United States
11/10/2018 7:06:56 PM #

I like the valuable info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I'm quite sure I will learn many new stuff right here! Good luck for the next!

Reply

Erwin Cassard
Erwin Cassard United States
11/11/2018 9:44:10 PM #

Normally I don't read post on blogs, but I wish to say that this write-up very forced me to try and do so! Your writing style has been surprised me. Thanks, very nice article.

Reply

Add comment

biuquote
  • Comment
  • Preview
Loading

Rel=Me

Month List

RecentComments

Comment RSS