{"id":51457609,"url":"https://github.com/automattic/wpvdb-smart-search","last_synced_at":"2026-07-06T02:00:54.169Z","repository":{"id":357739111,"uuid":"1238035244","full_name":"Automattic/wpvdb-smart-search","owner":"Automattic","description":"Smart Search demo UI for wpvdb powered semantic search","archived":false,"fork":false,"pushed_at":"2026-07-03T20:32:32.000Z","size":559,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-03T22:23:13.514Z","etag":null,"topics":["react","semantic-search","vector-search","wordpress","wordpress-plugin","wpvdb"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Automattic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-13T18:47:13.000Z","updated_at":"2026-07-03T20:32:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Automattic/wpvdb-smart-search","commit_stats":null,"previous_names":["rbcorrales/wpvdb-smart-search","automattic/wpvdb-smart-search"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Automattic/wpvdb-smart-search","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fwpvdb-smart-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fwpvdb-smart-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fwpvdb-smart-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fwpvdb-smart-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Automattic","download_url":"https://codeload.github.com/Automattic/wpvdb-smart-search/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fwpvdb-smart-search/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35175119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["react","semantic-search","vector-search","wordpress","wordpress-plugin","wpvdb"],"created_at":"2026-07-06T02:00:53.343Z","updated_at":"2026-07-06T02:00:54.160Z","avatar_url":"https://github.com/Automattic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WPVDB Smart Search\n\n[![Checks](https://github.com/Automattic/wpvdb-smart-search/actions/workflows/ci.yml/badge.svg)](https://github.com/Automattic/wpvdb-smart-search/actions/workflows/ci.yml)\n[![WordPress](https://img.shields.io/badge/WordPress-6.9%2B-3858e9?logo=wordpress\u0026logoColor=white)](#requirements)\n[![PHP](https://img.shields.io/badge/PHP-8.3%2B-777bb4?logo=php\u0026logoColor=white)](#requirements)\n[![License](https://img.shields.io/badge/License-GPLv2%2B-blue.svg)](LICENSE)\n\nDemo search UI, REST adapter, and optional site search replacement for dense, sparse, and hybrid search over content indexed by [`wpvdb`](https://github.com/Automattic/wpvdb).\n\nThe plugin also includes an optional site search surface. When enabled in Smart Search settings, eligible front end `?s=` main queries are answered with ranked semantic results from `wpvdb-search`, while unsupported queries fall through to WordPress search. Site search defaults to dense mode; sparse and hybrid remain available for sites that want keyword ranking or sparse plus dense ranking.\n\n![WPVDB Smart Search interface](docs/screenshots/screenshot.png)\n\n## Requirements\n\n| Requirement | Version or notes |\n|---|---|\n| WordPress | 6.9 or newer |\n| PHP | 8.3 or newer |\n| [`wpvdb-search`](https://github.com/Automattic/wpvdb-search) | Installed and configured |\n\n## What this plugin owns\n\n- The `/smart-search/` public page.\n- Optional semantic handling for WordPress `?s=` search queries.\n- The `wpvdb-smart-search/v1` REST namespace.\n- The React UI, browser assets, and REST adapter.\n- Demo examples, placeholders, and UI copy.\n- A WP-CLI prewarm command for example query embeddings.\n\nSearch execution lives in [`wpvdb-search`](https://github.com/Automattic/wpvdb-search).\n\n## Development\n\nInstall dependencies:\n\n```bash\nbun install\ncomposer install\n```\n\nBuild the browser assets:\n\n```bash\nbun run build\n```\n\nRun the local checks:\n\n```bash\nbun run lint\nbun run test\n```\n\nThe main branch maintenance workflow regenerates translation files and commits them when strings change.\n\nRun the same command locally only when you want to preview language file changes:\n\n```bash\nbun run i18n\n```\n\n## License\n\nGPL-2.0-or-later. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautomattic%2Fwpvdb-smart-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautomattic%2Fwpvdb-smart-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautomattic%2Fwpvdb-smart-search/lists"}