Close
dtSearch Engine API for .NET Framework 2.x-4.x 2024.01
Example
dtSearch.Engine.SearchJob searchJob = new dtSearch.Engine.SearchJob(); searchJob.Request = searchRequest.Text; searchJob.IndexesToSearch.Add(indexPath.Text); searchJob.MaxFilesToRetrieve = 100; searchJob.SearchFlags = SearchFlags.dtsSearchDelayDocInfo; searchJob.Execute(); if (searchJob.Errors.Count > 0) // ... display error messages ... else { dtSearch.Engine.SearchResults results; results = searchJob.Results; // ... display search results ... }