You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
Zoekt currently uses ctags to detect symbols in documents and determine their types. Symbol information has an important role in ranking -- we boost files containing symbol matches highly in the search results.
We've traced several complaints about surprising ranking to incorrect ctags output:
Also here's an example where we mistake comments for symbols:
It would be great to switch to a more robust way of detecting symbols. Maybe we could integrate more closely with code intel and take advantage of our work on SCIP and tree-sitter? This issue is meant to document + brainstorm the problem.
/cc @sourcegraph/search-core
The text was updated successfully, but these errors were encountered:
Zoekt currently uses ctags to detect symbols in documents and determine their types. Symbol information has an important role in ranking -- we boost files containing symbol matches highly in the search results.
We've traced several complaints about surprising ranking to incorrect ctags output:
drawPoint
was a symbol)Also here's an example where we mistake comments for symbols:
It would be great to switch to a more robust way of detecting symbols. Maybe we could integrate more closely with code intel and take advantage of our work on SCIP and tree-sitter? This issue is meant to document + brainstorm the problem.
/cc @sourcegraph/search-core
The text was updated successfully, but these errors were encountered: