Welcome to MSDN Blogs Sign in | Join | Help

Indexing XPS documents with MOSS 2007

With the XML Paper Specification (XPS) document format gaining popularity, many are wondering how to integrate MOSS 2007 to index and search XPS documents. Here's a quick recipe to configure your index server to crawl and catalog tokens in XPS documents:

     1.       Install the XPS Essentials pack from :

http://www.microsoft.com/whdc/xps/viewxps.mspx

 

2.       Add the filter-extension to the File types crawled:

Start -> Program -> Microsoft Office Server -> SharePoint 3.0 Central Administration  -> <Name of SharedService Provider> -> Search Settings -> File Types -> New File Type (Add extension  xps here)

 

3.       Verify that the xps entry  is added to the  extensions list under:

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office    Server\12.0 \Search\Applications\<Site>\Gather\Portal_Content\Extensions\ExtensionList

 

4.       Add the following registry key:

 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\Filters\ .xps]
        Default = (value not set)
        Extension = xps
        FileTypeBucket REG_DWORD = 0x00000001 (1)
        MimeTypes = application/xps     

5.       Identify the xps filter to MOSS by adding the following registry key:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office
 Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.xps]

             Set the "Default" value to the CLSID of XPS IFilter.

             Default REG _SZ = {1E4CEC13-76BD-4ce2-8372-711CB6F10FD1}         

6.      Finally, recycle the Search Service by executing the following command from the command window:

   D:\> net stop osearch

   D:\> net start osearch

 

7.   Add the xps documents in the content source and initiate the crawl.

                

Notes: 1. Tested on Win2K3 and MOSS 2007

           2. More Info on XPS: http://www.microsoft.com/whdc/xps/default.mspx

           3. Document with screenshot of configuration procedure attached. 

Published Saturday, March 24, 2007 7:26 PM by Deb Haldar
Filed under:

Attachment(s): Indexing XPS documents with MOSS 2007.xps

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# MOSS XPS Indexing

Sunday, March 25, 2007 7:04 AM by MOSS XPS Indexing

# Indexing XPS documents with MOSS 2007

Tuesday, March 27, 2007 3:39 PM by Romeo Pruno

Directly VIA Ifilter team blog on MSDN ;-)

# Inside IFilters :: More about SharePoint Search Architecture

Tuesday, March 27, 2007 9:53 PM by Sharepoint Experiences :: Brazilian SPS MVP

Hi all, Today I´ll write about IFilter´s and it´s importance in SharePoint Search Architecture context.

# re: Indexing XPS documents with MOSS 2007

Thursday, July 12, 2007 6:07 PM by MikeH

Is it possible to add XPS search capabilities in WSS 3.0?

I already tried adding the mentioned registry keys under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions

and rebootet, but without luck.

Maybe you can help?

If it is not possible on W2K03 will it be possible on W2K08?

# re: Indexing XPS documents with MOSS 2007

Friday, July 13, 2007 2:36 PM by Deb Haldar

Mike, the problem of manually adding new file types to WSS in on our radar. We're looking into it right now.

# MOSS Search : Tool, Ifilter, provider,..., quelques bonnes ressources à connaitre (part 2)

Friday, September 14, 2007 4:50 AM by The Mit's Blog

Maintenant que le search fonctionne bien, il faut savoir s'outiller pour bien l'exploiter, n'est il pas

# re: Indexing XPS documents with MOSS 2007

Friday, October 12, 2007 11:50 AM by Victor Shamanovsky

Deb, any updates on WSS issue?

Thanks!

# re: Indexing XPS documents with MOSS 2007

Friday, October 12, 2007 11:59 AM by Deb Haldar

Victor, the issue with WSS filter registration is on our radar and we're actively looking into it. I'll post an update once we have some developments.

-Deb.

# re: Indexing XPS documents with MOSS 2007

Friday, October 19, 2007 4:21 AM by MikeH

3 months now on radar, seems to me XPS has lots of trouble or microsoft is not serious with support of their own formats.

I always thought XPS is the PDF killer, but there is not much movement anymore. There is a lack of native XPS printers, there is the missing support for XPS on windows mobile, by default XPS documents are opened in the browser instead in a fast standalone viewer, then the problem with the sharepoint integration...

# re: Indexing XPS documents with MOSS 2007

Friday, March 14, 2008 2:02 AM by Troy

On Windows 2008 with Search Server 2008 x64, the following works:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office

Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.xps]

            Set the "Default" value to the CLSID of XPS IFilter.

            Default REG _SZ = {0B8732A6-AF74-498C-A251-9DC86B0538B0}

# re: Indexing XPS documents with MOSS 2007

Wednesday, April 23, 2008 11:01 AM by Moss Team

Does this search the content in the XPS file. if yes , could you tell us the steps.

# WSS 3.0 & MOSS: Recopilación de enlaces interesantes (XVII)!

Sunday, May 04, 2008 2:35 PM by Blog del CIIN

Aunque cada vez es más difícil ponerse al día, sobre todo por la falta de tiempo, de vez en cuando consigo

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker