public boolean processCandidateFilesForText(@NotNull GlobalSearchScope scope,
                                              short searchContext,
                                              boolean caseSensitively,
                                              boolean useOnlyWordHashToSearch,
                                              @NotNull String text,
                                              @NotNull Processor<? super VirtualFile> processor) {
    return processFilesContainingAllKeys(myManager.getProject(), scope, processor,
                                         TextIndexQuery.fromWord(text, caseSensitively, useOnlyWordHashToSearch, searchContext));
  }
public boolean processCandidateFilesForText(@NotNull GlobalSearchScope scope,
                                              short searchContext,
                                              boolean caseSensitively,
                                              boolean useOnlyWordHashToSearch,
                                              @NotNull String text,
                                              @NotNull Processor<? super VirtualFile> processor)