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.
When you search for a term in your entire source with the Ignore List filter on, results in the 'ignore' list aren't listed. However, they still count towards the maximum number of possible hits. This means that if you have a file in your ignore list that contains lots of hits for the search term, the search will abort when it hits that file, even though only a handful of results are listed. You would expect that ignored files aren't searched at all, and don't count against the maximum matches. Right now I have a log file with thousands of entries of the term I'm looking for, and this is causing my search to abort, even though the log file isn't listed in the results because it is being ignored.
Ignore List is applied before checking content of files. Can you please ensure that the Ignore List is set correctly? Please note that the file that contains lots of hits (over limit) is not shown in the search results, because the results wouldn't be complete and it could be confusing. So it seems that the file is not ignored. Maybe the pattern is not valid. Can you please check it? Thanks.
Confirmed. There was a second log file generating more hits that was indeed not listed in the results, so I hadn't added it to the filter. It's working properly now. It is indeed confusing (both when showing and not showing the file, I guess).
I don't think that your bug report is invalid. If the top-level node has text "Found 5 000 matches in 1 files so far...", you should see the file and first 5000 matches in it. If you see at which file the limit was reached, you can easily realize that your Ignore List needs to be modified. So this is probably less confusing than not showing the file at all. Fixed in http://hg.netbeans.org/core-main/rev/1786e1bff617 Thank you for your help.
Integrated into 'main-golden', will be available in build *201210250921* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1786e1bff617 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #220627: Find in files hits maximum results in ignored files