This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version: NetBeans IDE Dev (Build 201111080600) Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02 System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb) User directory: C:\Users\g.tzabari\.netbeans\dev Cache directory: C:\Users\g.tzabari\.netbeans\dev\var\cache 1. Select Maven project with many sub-projects (13 in my case) 2. CTRL+F 3. "Dog" 4. ENTER 5. The IDE reports "Preparing data for searching..." for 3-5 minutes before actually beginning the search. Once the search begins, it ends within 30 seconds. It's not clear what the IDE is doing all this time.
Upon further investigation, this only seems to occur for my C++ projects. If I select one of them (with no sub-projects) and run a Find operation the same thing happens. I dug further and noticed that the "target" directory contains the contents of http://search.maven.org/remotecontent?filepath=com/googlecode/boost-maven-project/boost-api/1.47.0-b1/boost-api-1.47.0-b1.jar (that is, extracted) This file contains 8600 files. I suspect that at least 2-3 of my projects contain boost-api extracted in the "target" directory, so we're searching through at least 25800 files. Still, it's not clear what "Preparing data" is doing. It is not granular enough. With the actual search operation I can see what is going on. With "preparing data" it feels like I'm waiting forever for a single operation. 1. The operation itself might be too slow. 2. There should be a better indication of progress.
Both search performance and progress indication will be probably improved in the next release. Thank you for reporting.
Same goes for Java projects.
http://hg.netbeans.org/core-main/rev/5040c9a4936c Fixed. "Preparing search" stage was abolished.
I've tested a nightly build with this new search implementation: works very nice. Its a lot faster than the previous implementation! Thanks for investing time in the area of the IDE! gr, Rick
"Thanks for investing time in the area of the IDE" should be "... in THIS area"... just had to correct this :-)
I'm glad you like it. Thank you very much for your feedback.