Skip to content
Snippets Groups Projects

search: migrate structural search logic to own file

Created by: rvantonder

I need to change how structural search interacts with indexed/zoekt search and it is becoming very tricky to work with the code in zoekt.go. After a lot of deliberation, I'm moving all structural search logic and interaction with zoekt to it's own file. This PR is a scaffolding change, there is no change in functionality. Please go through the commits to have an easy time. There are only two overarching changes:

  • move currently live code in zoekt.go into it's own file search_structural.go
  • wholesale duplicate the zoekt code that structural search uses and put it in search_structural.go. This is dead code.
    • simplify and rename the zoekt code that structural search uses. This is still dead code.

No tests, no live functionality changes. I will use the dead code in a follow up PR with the changes that I actually want to make.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading