Feature Request - Improved Hierarchy in Page Reference Results

When referencing a page with a hierarchical structure, such as [[config]], the search results prioritize top-level pages over nested pages.

For instance, when I create a reference to [[config]], the current behavior seems to suggest a new page called ‘config’, when actually I am trying to refer to an existing nested page under ‘logseq’, like logseq/config.

From a user’s perspective, it would be more logical if the search results prioritized nested pages that are more specifically related to the context of the reference. Here is the current behavior versus the expected:

Current Behavior:

  1. New page: config
  2. logseq/config

Expected Behavior:

  1. logseq/config
  2. New page: config