You are here: C++ Support Classes > dtSearch Namespace > Classes > DFileConvertJob Class > SetInputItem Method > DFileConvertJob::SetInputItem Method (DSearchResults&, int)
DFileConvertJob::SetInputItem Method (DSearchResults&, int)
Close
dtSearch Text Retrieval Engine Programmer's Reference
DFileConvertJob::SetInputItem Method (DSearchResults&, int)

SetInputItem initializes a DFileConvertJob with information about a document that is available from search results.

Syntax
C++
void SetInputItem(DSearchResults& res, int iItem = -1);
Parameters
Description
DSearchResults& res
Search results containing the item
int iItem = -1
The item in search results to use as input

Data transferred from search results in SetInputItem includes:

  • The filename
  • The hit count and hit offsets
  • The file type of the document when it was indexed
  • The document id of the document in the index
  • The index path and alphabet location