on Search Completed
abstract fun onSearchCompleted(@NonNull searchString: String, @NonNull results: Map<String, Set<Integer>>)
Called when search completes before previews are generated.
Parameters
search String
Search query passed into the search method.
results
Map of results. Map keys are document UIDs and values are sets of 0-indexed page numbers where search hits were found.