Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// For complete examples and data files, please go to https://github.com/groupdocs-search/GroupDocs.Search-for-Java
// Loading index
Index index = new Index(Utilities.BOOKS_INDEX);
SearchResults searchResults = index.search("Gregor Samsa");
// List of found files
for (DocumentResultInfo result : searchResults) {
System.out.println(result.getFileName());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.