scala / scala3

The Scala 3 compiler, also known as Dotty.
https://dotty.epfl.ch
Apache License 2.0
5.81k stars 1.05k forks source link

Scaladoc: Unify searchbar engines #12995

Open KacperFKorban opened 3 years ago

KacperFKorban commented 3 years ago

This issue relates to the fact that the search bar can only ever display either the normal output (text search) or output from Inkuire. But never both. This led to some hacks in Inkuire. For example the following declaration:

val xd: String = ???

has to be searched in Inkuire using => String, instead of just String. This is because the heuristic for choosing which search engine to use is a simple searchPhrase.contains("=>") check.

So the scope of this issue would be to figure out a better way to choose the search engine. Preferably even add Inkuire as a separate section in the search results. Though always using both search engines should IMHO be out of the question, since that would kill the performance of the normal search bar.

ckipp01 commented 1 year ago

@KacperFKorban are you able to provide some more context to this issue? Is this still relevant?

KacperFKorban commented 1 year ago

@ckipp01 updated the issue description

It is still relevant, though a low priority.