Debugging Custom Item Processing
Last modified: June 23, 2011
Applies to: SharePoint Server 2010
FFDDumper is an optional item processing stage that enables you to dump all crawled property data that is received by FAST Search Server 2010 for SharePoint.
You cannot use this stage to debug the output of custom item processing stages. You can only inspect the content of the crawled properties before they are processed.
You enable the FFDDumper item processing stage in <FASTSearchFolder>\etc\config_data\DocumentProcessor\OptionalProcessing.xml.
<FASTSearchFolder> is the name of your FAST Search Server 2010 for SharePoint installation directory, for example C:\FASTSearch.
For more information, see Configuring Optional Item Processing.
FFDDumper outputs debug data to the following directory:
Each line in the debug files contains the following four strings:
A number indicating the length of the crawled property name
The name of the crawled property
The character "s", followed by a number indicating the length of the crawled property
The content of the crawled property
You must only enable this stage during testing, as it has major impact on the feed rate and may quickly fill up the local hard disk.
You can enable item processing debug logging to see errors and warnings from the item processing stages. Type the following command.
You can access the debug log files in the following directory.
You must only enable debug logging during testing, as it has major impact on the feed rate and may quickly fill up the local hard disk.
To disable item processing debug logging, type the following command.
You can use the docpush command to submit a text file or an XML file as a simple test item.
This command submits the file named <file> to the pipeline, and uses the content collection named <collection>. You can use the default content collection named sp, or you can create a collection for test.
The –u option ensures that the item contains a reasonable URL in query results. You can run the command on any server in the FAST Search Server 2010 for SharePoint farm.
The following example creates a new content collection named test, and submits a test document.
New-FASTSearchContentCollection -Name test docpush -c test -u file:/// c:\test\test.xml
You can delete the test items in two ways, as follows:
Delete individual items using docpush. You can use the same syntax, but you must add the –d option.
You can remove all the documents in the content collection. In a FAST Search Server 2010 for SharePoint command shell, run the following command.
For more information, see docpush reference on Microsoft TechNet.
For more information about how to run test queries, see Testing Custom Query Features (FAST Search Server 2010 for SharePoint).