See Also
DataSource Interface
You are here:
Symbol Reference
>
dtSearch.Engine Namespace
>
Interfaces
>
DataSource Interface
>
DataSource Properties
Close
dtSearch .NET Standard API 2024.02
Contents
|
Index
|
Reference
|
Home
Previous
|
Up
|
Next
DataSource Properties
The properties of the DataSource class are listed here.
Public Properties
Public Property
Description
DocBytes
Use DocBytes to provide an array of bytes for dtSearch to use as the binary contents of this document.
DocCreatedDate
The date that the document was originally created.
DocDisplayName
The DocDisplayName is a user-friendly version of the filename, which the dtSearch end-user product displays in search results.
DocError
If
WasDocError
is true, DocError will contain a string providing details on the nature of the error.
DocFields
In DocFields, supply any fielded data you want the dtSearch Engine to index.
DocId
Each time
GetNextDoc
() is called,
DocId
will contain the doc id of the previous document.
DocIsFile
If True,
DocName
will be interpreted as the name of a file to be indexed, and dtSearch will index the contents of the file along with any data provided in
DocText
and
DocFields
.
DocModifiedDate
The date that the document was last modified.
DocName
The DocName is the name of the document, as you want it to appear in search results.
DocStream
Use DocStream to provide access to binary document data for this document in the data source.
DocText
In DocText, supply the text you want the dtSearch Engine to index.
DocTypeId
Each time
GetNextDoc
() is called, DocTypeId will return an integer identifying the file type of the previous document.
DocWordCount
Each time
GetNextDoc
() is called, DocWordCount will contain the number of words in the previous document.
WasDocError
Each time
GetNextDoc
() is called, WasDocError will be true if there was an error processing the previous document (such as a file parsing error)
See Also
DataSource Interface