Keyoti SearchUnit API Docs
GetImportSample Method (indexableSourceRecord, dataSet, sampleSize, invoker)
API DocumentationKeyoti.SearchEngine.IndexDocumentIndexGetImportSample(IndexableSourceRecord, DataSet, Int32, LinkBasedImportSampler..::..InvokeMethod)
Keyoti SearchUnit v6
Produces a sample DataTable of data that will be imported from the indexableSourceRecord using dataSource and places it in the DataSet ds as the first item.
Declaration Syntax
C#Visual Basic
public virtual void GetImportSample(
	IndexableSourceRecord indexableSourceRecord,
	DataSet dataSet,
	int sampleSize,
	LinkBasedImportSampler..::..InvokeMethod invoker
)
Public Overridable Sub GetImportSample ( 
	indexableSourceRecord As IndexableSourceRecord,
	dataSet As DataSet,
	sampleSize As Integer,
	invoker As LinkBasedImportSampler..::..InvokeMethod
)
Parameters
indexableSourceRecord (IndexableSourceRecord)
The instance of the source record which will be used to import documents/records.
dataSet (DataSet)
The DataSet to which the DataTable is added.
sampleSize (Int32)
The number of records to retrieve.
invoker (LinkBasedImportSampler..::..InvokeMethod)
A UI control with an Invoke method, which can be used to invoke a method on the UI thread. Can only be null when operating outside of Windows Forms.
Remarks
Can be used to test import parameters and produce example of result from Import method.

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610