scala-search / scaps

Scala API Search
http://scala-search.github.io
Mozilla Public License 2.0
37 stars 4 forks source link

Group results with similar signature #4

Closed Luegg closed 9 years ago

Luegg commented 9 years ago

Some queries retrieve result sets with many definitions inherited from the same base trait. E.g. List => Int => Option retrieves List.lift, Seq.lift, etc. Those "duplicated" results do not add much benefit as the most specific (List.lift) is usually the most useful to the user.

To avoid those polluted result sets, results with similar signatures can be grouped in one entry.

E.g. a result set like

becomes

Luegg commented 9 years ago

Addressed by 236b303d203ede2edc6f02b82602fca8936f3b01