Provide an indicator in code search results when there are multiple matches within the file
Insight
In the case of multiple matches within a single file for code searches, most users prefer to see one result in the listing with an indicator of multiple matches in that file.
Supporting evidence
The majority of users felt multiple matches within a single file should be shown as one result, but wanted some form of an indicator as to how many matches there were within the result (possibly with the ability to expand to see all matches). This would also help them understand why some results rank higher than others.
Action
Resources
Edited by Nick Brandt