Create an xml file containing all known properties. One file will be created for each document processed by the toolkit. The xml file is created with the element name ManagedProperty. Optionally, the file can be generated in SharePoint 2010 compatibility mode and the element name will be CrawledProperty.
It is important to note that the file will contain all properties that exist at the specific place where you defined the stage. If you create/modify properties later in the pipeline, you will need another SpyFiles stage to inspect those properties.
Add this to any place in your pipelines. Example pipelines will always have these in place. Just follow the example
<
documentProcessor
dllFile
=
"StandardDocumentProcessors.dll"
className
"StandardDocumentProcessors.SpyFiles"
>
parameter
name
"OutputDirName"
>..\logs\fileDump</
"ElementName"
>CrawledProperty</
"FileExtension"
>.input.xml</
</
ElementName is the XML element name for each property. It can be one of: CrawledProperty or ManagedProperty (default) If CrawledProperty, then the XML is formatted like FAST Search For SharePoint 2010 pipeline extensibility XML documents.