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.

Bug 140612 - [65cat] No information if search stopped due to exceeded limit for number of matches
Summary: [65cat] No information if search stopped due to exceeded limit for number of ...
Status: VERIFIED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-17 19:55 UTC by Michel Graciano
Modified: 2008-08-15 13:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2008-07-17 19:55:24 UTC
[ BUILD # : 200807040101 ]
[ JDK VERSION : 1.6.0_07 ]

If I try to find something in a project that there is more than
approximately 5000 matches, the search is stopped.
For example, try to search for 'a' in a big project, just some files
is listed. One thing that I understand is that when 5000 matches are
found, the search just finish the current file been scanned, what
means that the final matches count is not exactly 5000, but something
more that it. I understand that it can be a feature, but any advise
is showed, and the users think that ALL occurrences was found, what
is not true.
For me, there is 2 options:
1-Search for all occurrences;
2-Advise user about not all files was scanned.
Comment 1 misterm 2008-07-18 01:43:53 UTC
The current behaviour is totally misleading and should definitely be changed.
Comment 2 Marian Petras 2008-07-21 19:37:09 UTC
I will change it such that the user is informed of the limit reached.
Comment 3 Marian Petras 2008-07-22 13:09:52 UTC
Fixed.

If some limit is reached during the search, the search is interrupted and a message about the limit is added to the root
node of search results.

Changeset id:
bb22a4eb3aa7
(http://hg.netbeans.org/main/rev/bb22a4eb3aa7)
Comment 4 Michel Graciano 2008-08-15 13:09:29 UTC
v. 200808141419