The input element contains the query input that led to a view request. It is used in the similardocs, viewInContext and categorize request. It has no child elements.
The input element’s contents depend on the request’s mode attribute:
<similardocs mode="mode">
<input>input</input>
The mode can be one of four values:
- text—Raw, unformatted text of any kind
- xhtml—Structured text in the format described in Appendix B, Structured Content Specification.
- url—URL of a previously viewed index item
- hdoc—Document identifier of an indexed item

