Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search are not complete #33

Open
saberxt opened this issue Aug 12, 2022 · 1 comment
Open

search are not complete #33

saberxt opened this issue Aug 12, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@saberxt
Copy link

saberxt commented Aug 12, 2022

Hi, when we are searching some keyword in all the regmap, it seems we could not get all the result.

For example, there is a address map like below:

  • regmap
    • timing ctrl
      • slot_ctrl0
        • rg_t_slot
      • slot_ctrl1
        • field1
      • slot_ctrl2
        • field2

When we are searching the keyword "slot", we could only get the result like below:
regmap.timing_ctrl.slot_ctrl0
regmap.timing_ctrl.slot_ctrl1
regmap.timing_ctrl.slot_ctrl2
But we could not see the result, which should be regmap.timing_ctrl.slot_ctrl0.rg_t_slot

@amykyta3
Copy link
Member

Thanks for pointing this out!
This behavior was somewhat intentional - field results are hidden unless no other matches are found to avoid clutter. That said, I agree that your example results in surprising behavior. I'll look into fixing this.
Search results are something I am constantly adjusting. There is a fine balance to returning results that "feel correct" and it is difficult to anticipate.

@amykyta3 amykyta3 added the bug Something isn't working label Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants