Skip to content

Search only returns first 10,000 items found #90383

@nyghtly-derek

Description

@nyghtly-derek

Issue Type: Bug

  1. Open file containing more than 10,000 instances of a string such as "hello,"
  2. Search for "hello,"
  3. Only 10,000 results will be found

VS Code version: Code 1.41.1 (26076a4, 2019-12-18T14:58:56.166Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz (2 x 2400)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: disabled_off
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: unavailable_off
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 9.00GB (1.83GB free)
Process Argv file.txt
Screen Reader no
VM 100%
Extensions (4)
Extension Author (truncated) Version
gc-excelviewer Gra 2.1.32
mssql ms- 1.8.0
csharp ms- 1.21.11
powershell ms- 2020.1.0

I'm aware of existing issues such as #8563

What makes my issue unique is that it properly identifies this search limitation as a bug. The search module does not indicate anywhere that there is a limit to the number of results that will be returned. Thus it is a reasonable for the user to assume that the search module will return all possible results.

Either this bug needs to be fixed, or a warning needs to be added when the results limit is reached. As is stands a user might believe that they are getting all the results, even though they are not.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugsearchSearch widget and operation issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions