The similardocs request contains text content to categorize using the same categorization algorithm as indexed content and queries. The type of content is specified by the following attribute:
<similardocs mode="mode"The mode value can be:
text– Raw, unformatted textquestion– User-input text; this type is separate due to differences in natural-language processing of user queries vs. document contentXHTML– XHTML text as described in the Structured Content Specification sectiondocument– A pathname to a file of formatted text

