|Re: Performance with SearchEngine [message #990910 is a reply to message #990603]
||Fri, 14 December 2012 19:24
| Stephan Herrmann
Registered: July 2009
When searching via the SearchEngine, you are implicitly using the indexes already.|
I could imagine that slowness comes from the second phase of searching where index matches are located precisely inside Java code.
You may want to step through org.eclipse.jdt.internal.core.search.BasicSearchEngine.findMatches(SearchPattern, SearchParticipant, IJavaSearchScope, SearchRequestor, IProgressMonitor) to see where the time is consumed.
Perhaps you'll find a faster solution by looking at how Open Type et al are doing the search, see org.eclipse.jdt.internal.ui.dialogs.FilteredTypesSelectionDialog.
Powered by FUDForum
. Page generated in 0.22795 seconds