URLs in links not searchable

What’s The Bug?

After creating a URL link, the text in the URL itself is not found during search.

How To Reproduce It

  1. create a URL link, either by using “paste as link” or Ctrl+Shift+K for (equivalent in markdown):
    [How to create a Python package in 2022](https://mathspp.com/blog/how-to-create-a-python-package-in-2022)
  2. now search for “mathspp” using Ctrl+K,
  3. no results are found

The Expected Behavior

The results should show the Page (or other object) that contains the URL link.

Additional Context

There were previous reports for the same issue and these have been marked resolved. However, the issue persists.

I.e. URL Not Searchable In Text Link

Device

Desktop PC

OS

Windows 11

Anytype Version

0.49.2

Network Mode

AnySync

Technical Information

OS version: win32 x64 10.0.26100
App version: 0.49.2
Build number: build on 2025-08-19 10:36:34 +0000 UTC at #f6a52252cfb9373a9191f92745bd70587934ea24
Library version: v0.43.0-rc02
Anytype Identity: A7t4omsx1RAeJKBqy1cBqyaz3Z9yp1zEuDLCzQs78bJpWXCD
Analytics ID: b2096ac4-d9a0-4a79-b53b-2a8b17cfbca6
Device ID: 12D3KooWRZxQd7yobkwAykAcP4NCcXzFPBCpdA8FayQQ8Yh2PDzL
Ethereum Address: 0xeff02EAdb92Fc7ab738BB91Ca3B005cC563B046A

This report has been added to our issue tracker and received by the Development Team.

Thanks for reporting this!

Currently, search in Anytype only indexes the visible text content inside an object. When a URL is inserted as a link behind text (for example [Title](``https://example.com``)), the URL itself is not included in the search index. Because of this, searching for parts of the URL (like mathspp in your example) will not return the object.

We reviewed this behavior, and for now it is not planned to change. The use case appears to be relatively rare, and similar tools such as Notion, Craft, and Linear also do not index the hidden URL in text links.

If you need the link to be searchable, a simple workaround is to include part of the URL as visible text somewhere in the object (for example in the link text or nearby text).

That said, if more people rely on searching by URL, we may revisit this in the future. Thanks again for raising it!

I would expect I could search everything with the global search, including parts of words (what also currently doesn’t work well).

Search should generally be able to find content across your space, including parts of words, but there are still some edge cases where results may be missing or ranked unexpectedly.

We’re currently working on improving search overall, so feedback like this is helpful. If you notice specific cases where partial matches don’t work well, please report them in a separate bug report.