Search Operators for LINKS (backlinks, forwardlinks)

I was just about to create another feature request Orpan Search Query and realized that this standing request could probably accommodate that use case if it was implemented. (Atomic requests are more manageable, so let me know if this seems like it should be it’s own feature request.)

Orpan Search Query

It would so be useful to see an ordered list of orphan files.

Proposed solution

Clearly Obsidian already has the capability to filter orphans, as demonstrated by the Graph View filter toggle.

I want some way to do the same thing in the search bar and inline queries.

Graph view is nice, but it’s so random and unwieldy in a large vault. We need a search query that provides a sorted list in the search bar and inline

` ` `query
is-orphan:
` ` `

Or in the style of the proposed solution above,

` ` `query
links:NULL
` ` `

Please note that to be an orphan file, it must not have any Obsidian links in the body nor any back-links. There are several posted regex queries on discord. None of them address the back-link side of the connection.

Current workaround

Progress clumsily using the Graph View filter.

Related feature requests

2 Likes