Jaa


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. 

Indexing XPS documents with MOSS 2007.xps

Comments

  • Anonymous
    March 24, 2007
    PingBack from http://www.decatec.it/blogs/2007/03/25/MOSS+XPS+Indexing.aspx

  • Anonymous
    March 27, 2007
    Directly VIA Ifilter team blog on MSDN ;-)

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

  • Anonymous
    July 12, 2007
    Is it possible to add XPS search capabilities in WSS 3.0? I already tried adding the mentioned registry keys under HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsWeb Server Extensions and rebootet, but without luck. Maybe you can help? If it is not possible on W2K03 will it be possible on W2K08?

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

  • Anonymous
    September 13, 2007
    Maintenant que le search fonctionne bien, il faut savoir s'outiller pour bien l'exploiter, n'est il pas

  • Anonymous
    October 12, 2007
    Deb, any updates on WSS issue? Thanks!

  • Anonymous
    October 12, 2007
    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.

  • Anonymous
    October 18, 2007
    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...

  • Anonymous
    March 13, 2008
    On Windows 2008 with Search Server 2008 x64, the following works: [HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server12.0SearchSetupContentIndexCommonFiltersExtension.xps]             Set the "Default" value to the CLSID of XPS IFilter.             Default REG _SZ = {0B8732A6-AF74-498C-A251-9DC86B0538B0}

  • Anonymous
    April 23, 2008
    Does this search the content in the XPS file. if yes , could you tell us the steps.

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

  • Anonymous
    August 12, 2008
    very useful article but i have a problem when indexing an arabic xps file the english works just fine but the arabic docs is indexed backward all the words are spelled in reverse anyone know a solution for that

  • Anonymous
    May 03, 2010
    This should be updated to include the correct GUID to use on Server 2008...... Add a new .xps key at HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server12.0SearchSetupContentIndexCommonFiltersExtension with the default value set to {0B8732A6-AF74-498C-A251-9DC86B0538B0}

  • Anonymous
    July 07, 2010
    I added to 2008 value as mentioned by Troy and Allison, but still no luck. We use Sharepoint 2010! Did anyone have any luck with SharePoint2010 and XPS Indexing?