dtSearch .NET Standard API 2021.01
The dtSearch .NET Standard API is very similar to the .NET Framework API in dtSearchNetApi4.dll, but there are some changes.
Instead of ExecuteInThread/IsThreadDone, use async/await.
SearchJob, SearchResults, and SearchFilter
The searching API has been changed slightly to be easier to use with "using" clauses. The caller allocates both the SearchJob and the SearchResults, and then passes the SearchResults in the Execute() method. Example:
Where the API uses a set of string values, the newer and more standard List<string> is used instead of the older StringCollection.
Redundant properties eliminated
IndexJob.CreateAccentSensitive, CreateCaseSensitive, and CreateRelativePaths are all redundant with the equivalent flags in IndexJob.IndexingFlags.
In SearchResults, DocName, DocHitCount, and DocHits are redundant with CurrentItem.DocName, CurrentItem.DocHitCount, and CurrentItem.DocHits.
SearchResults.MakePdfHighlightFile is redundant with MakePdfWebHighlightFile.
Server.ConvertPath is redundant with the ASP.NET Server.MapPath method.