Skip to content

New Experiment: Semantic search in wp admin #844

Description

@jeffpaul

What problem does this address?

The built-in admin search matches exact words, so if you remember writing "that post about pricing changes" but the post was titled "Updates to our plans" then searching for "pricing" in the posts list finds nothing. On sites with hundreds of posts, users can end up scrolling through pages of results or guessing at old titles which as a small friction that can compound daily for anyone actively managing content.

The in-progress native vector search experiment in #683 solves this for site visitors on the frontend search page, but the people managing the site face the same problem in wp-admin and aren't covered by it.

NOTE: This is blocked until the underpinning embeddings work is available, specifically the PHP AI Client's embedding generation API (WordPress/php-ai-client#244) and the native vector search experiment that builds the content index on top of it (#683). This issue is intended as a follow-on to that foundation, not a parallel implementation.

What is your proposed solution?

Extend semantic search to the admin side, reusing the same content index that #683 builds:

  • Posts list search: searching from the post/page list tables returns results based on what content means, not just exact word matches, falling back gracefully to default search when no AI provider is configured (matching our existing no-provider degradation pattern)
  • Command palette: the editor's command palette (Cmd/Ctrl+K) gains a "search content semantically" path, so authors can jump to the post they're thinking of without leaving the editor

Ideally the retrieval piece is exposed as an ability so other features (and potentially third-party plugins following our lead) can reuse it.

Why is this important to you?

Editors, admins, and multi-author teams hit this constantly and it's arguably a more frequent touchpoint than frontend search, since content managers search their own back catalog far more often than any single visitor does. It also extends the value of the vector-search investment to a second audience at relatively low incremental cost, since indexing, storage, and embedding generation are already handled by #683.

I have searched existing issues and this is not a duplicate.

  • Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status
    In progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions