Skip to content

Instantly share code, notes, and snippets.

@GroupDocsGists
Created November 26, 2018 02:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GroupDocsGists/a378fe664de1d55d7fed530fa6c1ce15 to your computer and use it in GitHub Desktop.
Save GroupDocsGists/a378fe664de1d55d7fed530fa6c1ce15 to your computer and use it in GitHub Desktop.
// For complete examples and data files, please go to https://github.com/groupdocs-search/GroupDocs.Search-for-.NET
// Loading index
Index index = new Index(Utilities.booksIndex);
SearchResults searchResults = index.Search("Gregor Samsa");
// List of found files
foreach (DocumentResultInfo result in searchResults)
{
Console.WriteLine((result.FileName));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment