You are here: Symbol Reference
> dtSearch.Engine Namespace
> SearchResults Class
> SearchResults Methods
> AddDoc Method
Close
dtSearch .NET Standard API 2021.02
SearchResults.AddDoc Method

Add a document to SearchResults.

public void AddDoc( string indexPath, int docId, int[] hits );
Parameters
Description
indexPath
Path of the index that contains this document.
docId
Document id of the document in the index.
hits
Word offset of the hits in this document.
Copyright (c) 1998-2021 dtSearch Corp. All rights reserved.