Function definition should be on the top of search result page
It's possible in ES by using some advanced techniques like https://www.elastic.co/guide/en/elasticsearch/guide/current/_boosting_query_clauses.html and https://www.elastic.co/guide/en/elasticsearch/guide/current/query-time-boosting.html
Request from the possible customer:
If I'm looking for a function, the code where the function is DEFINED should be the top hit, not where the function is CALLED. And one more thing: If someone forks a repo, just don't show me those results (or at least allow me to filter them out).
Edited by 🤖 GitLab Bot 🤖