Skip to content

Search

This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.

FieldValue
Composer packagecapell-app/search
Package slugsearch
Product groupCapell Search & SEO
Tierpremium
Bundlesearch-seo
Runtime contextsadmin, frontend, console
Capell version^1.0
Catalogue roleextension
Release channelBeta
Source repositorycapell-app/packages
Source pathpackages/search
Docs sourcepackages/search/docs
Manifestcapell.json

Search is an Available, Schema-owning Capell package in the Capell Search & SEO product group. It ships as capell-app/search and extends these surfaces: admin, frontend, console.

Search adds public search, autocomplete, facets, synonyms, promoted results, spelling correction, and consent-aware search analytics.

Visitors can search indexed site content from the public search surface. Admins configure search behaviour and inspect top, trending, clicked, and zero-result queries.

Status details:

  • Status: Available
  • Tier: premium
  • Bundle: search-seo
  • Composer package: capell-app/search
  • Namespace: Capell\Search
  • Theme key: not applicable

For developers: The searchable-source registry and Search contract keep indexing backends replaceable while Actions normalize, sanitize, enhance, and record queries.

For teams: Teams can help visitors find content and use failed or repeated searches to decide which synonyms, promoted results, or content gaps to address.

Screenshot contract: docs/screenshots.json.

Frontend search results page Frontend search results page Top searches widget Top searches widget
  • Frontend search results page (frontend, required evidence).
  • Header search field (frontend, supplementary evidence).
  • Top searches widget (admin, required evidence).
  • Trending searches widget (admin, supplementary evidence).
  • Zero-result searches widget (admin, supplementary evidence).
  • Site search settings screen (admin, supplementary evidence).
  • Illustrative annotated search curation settings preview (frontend, required evidence).
  • Capell\Search\Providers\SearchServiceProvider
  • Capell\Search\Providers\ConsoleServiceProvider
  • Capell\Search\Providers\AdminServiceProvider
  • packages/search/config/capell-search.php
  • packages/search/database/migrations/2026_05_10_190868_01_create_search_logs_table.php
  • packages/search/database/migrations/2026_05_21_000002_add_fulltext_index_to_search_database_table.php
  • packages/search/database/migrations/2026_07_12_000001_encrypt_search_log_pii.php
  • packages/search/database/migrations/2026_09_29_120000_remove_implicit_timestamp_updates_from_search.php
  • packages/search/database/settings/2026_05_10_190869_01_add_search_settings.php
  • SearchSettings
  • SearchLog
  • SearchSettingsPage
  • SearchDashboardSettingsContributor
  • SearchSettingsSchema
  • BuildsSearchInsightsWindow
  • SearchOverviewStatsFilamentWidget
  • TopSearchesFilamentWidget
  • TrendingSearchesFilamentWidget
  • ZeroResultSearchesFilamentWidget
  • packages/search/routes/web.php
  • Search
  • ApplySearchResultEnhancementsAction
  • BuildAutocompleteQuerySuggestionsAction
  • BuildSearchFacetGroupsAction
  • BuildSearchPageViewDataAction
  • BuildTopClickedResultsQueryAction
  • BuildTopSearchesQueryAction
  • BuildTrendingSearchesQueryAction
  • BuildZeroResultSearchesQueryAction
  • CanCollectSearchAnalyticsAction
  • CreatePromotedResultFromZeroResultSearchAction
  • CreateSearchVisitorIdentityAction
  • CreateSynonymFromZeroResultSearchAction
  • FlushScoutSearchSourcesAction
  • GenerateSearchClickTokenAction
  • HashSearchRetentionValueAction
  • IndexScoutSearchSourcesAction
  • InstallSearchPackageAction
  • NormalizeSearchFiltersAction
  • NormalizeSearchQueryAction
  • ProbeScoutIndexHealthAction
  • PublishSearchAssetsAction
  • PurgeSearchLogsAction
  • RecordSearchAction
  • RecordSearchResultClickAction
  • RegisterConfiguredSearchableSourcesAction
  • ResolveCorrectedSearchQueryAction
  • ResolveExpandedSearchQueriesAction
  • ResolvePromotedSearchResultsAction
  • ResolveSearchResultTypeLabelAction
  • ResolveSearchSettingAction
  • RunAutocompleteSearchAction
  • RunSearchAction
  • SanitizeSearchResultAction
  • SeedSearchScreenshotFixtureAction
  • SeedSearchScreenshotWidgetAction
  • AutocompleteQuerySuggestionData
  • AutocompleteSearchResponseData
  • AutocompleteSearchResultData
  • DatabaseFullTextSearch
  • DatabaseSearchExpression
  • PromotedSearchResultData
  • SearchFacetGroupData
  • SearchFacetOptionData
  • SearchFilterData
  • SearchInsightsWindowData
  • SearchPageViewData
  • SearchQueryMetadataData
  • SearchRequestData
  • SearchResultData
  • SearchTermSummaryData
  • SearchVisitorIdentityData
  • SearchableSourceData
  • capell:search:screenshot-fixture
  • search:flush
  • search:index
  • search:purge
  • applySearchResultEnhancements: Capell\Search\Actions\ApplySearchResultEnhancementsAction
  • buildTopClickedResultsQuery: Capell\Search\Actions\BuildTopClickedResultsQueryAction
  • buildTopSearchesQuery: Capell\Search\Actions\BuildTopSearchesQueryAction
  • buildTrendingSearchesQuery: Capell\Search\Actions\BuildTrendingSearchesQueryAction
  • buildZeroResultSearchesQuery: Capell\Search\Actions\BuildZeroResultSearchesQueryAction
  • createPromotedResultFromZeroResultSearch: Capell\Search\Actions\CreatePromotedResultFromZeroResultSearchAction
  • createSynonymFromZeroResultSearch: Capell\Search\Actions\CreateSynonymFromZeroResultSearchAction
  • flushScoutSearchSources: Capell\Search\Actions\FlushScoutSearchSourcesAction
  • indexScoutSearchSources: Capell\Search\Actions\IndexScoutSearchSourcesAction
  • install: Capell\Search\Actions\InstallSearchPackageAction
  • normalizeSearchQuery: Capell\Search\Actions\NormalizeSearchQueryAction
  • purgeSearchLogs: Capell\Search\Actions\PurgeSearchLogsAction
  • recordSearch: Capell\Search\Actions\RecordSearchAction
  • recordSearchResultClick: Capell\Search\Actions\RecordSearchResultClickAction
  • resolveExpandedSearchQueries: Capell\Search\Actions\ResolveExpandedSearchQueriesAction
  • resolvePromotedSearchResults: Capell\Search\Actions\ResolvePromotedSearchResultsAction
  • runSearch: Capell\Search\Actions\RunSearchAction
  • search:purge (monthly; package registered)
  • FlushSearchCommand
  • IndexSearchCommand
  • PurgeSearchLogsCommand
  • SeedSearchScreenshotFixtureCommand
  • admin-page: Capell\Search\Manifest\SearchSettingsPageContribution
  • agent-capability: Capell\Search\Manifest\SearchAgentToolContribution
  • console-command: Capell\Search\Manifest\SearchConsoleCommandsContribution
  • dashboard-widget: Capell\Search\Manifest\TopSearchesWidgetContribution
  • dashboard-widget: Capell\Search\Manifest\TrendingSearchesWidgetContribution
  • dashboard-widget: Capell\Search\Manifest\ZeroResultSearchesWidgetContribution
  • health-check: Capell\Search\Manifest\SearchHealthContribution
  • migration: Capell\Search\Manifest\SearchMigrationsContribution
  • model: Capell\Search\Manifest\SearchLogModelContribution
  • overview-stat: Capell\Search\Manifest\SearchOverviewStatsContribution
  • route: Capell\Search\Manifest\SearchFrontendRouteContribution
  • scheduled-job: Capell\Search\Manifest\SearchLogPurgeScheduleContribution
  • setting: Capell\Search\Manifest\SearchSettingsContribution
  • Capell\Search\Health\SearchHealthCheck
  • packages/search/resources/views/components/facets.blade.php
  • packages/search/resources/views/components/form.blade.php
  • packages/search/resources/views/components/header/autocomplete-results.blade.php
  • packages/search/resources/views/components/header/search-dialog.blade.php
  • packages/search/resources/views/components/header/search-modal.blade.php
  • packages/search/resources/views/components/header/search-trigger.blade.php
  • packages/search/resources/views/components/results.blade.php
  • packages/search/resources/views/filament/widgets/search-overview-stats.blade.php
  • packages/search/resources/views/layouts/frontend.blade.php
  • packages/search/resources/views/pages/search.blade.php
  • search
  • Required tables: search_logs.
  • Models: SearchLog.
  • Core record references in migrations: sites via site_id, languages via language_id.
  • Migration files: 2026_05_10_190868_01_create_search_logs_table.php, 2026_05_21_000002_add_fulltext_index_to_search_database_table.php, 2026_07_12_000001_encrypt_search_log_pii.php, 2026_09_29_120000_remove_implicit_timestamp_updates_from_search.php.
  • Migration impact: run host migrations through the package install flow before opening package surfaces.
  • Deletion/retention behaviour: migrations declare null-on-delete relationships; retention is scheduled through search:purge (monthly; registered by the package provider).
  • Required packages: capell-app/admin, capell-app/core, capell-app/discovery-foundation, capell-app/frontend.
  • Admin navigation: declares admin-page: SearchSettingsPageContribution; each Filament page or resource controls its own navigation visibility.
  • Admin/editor extensions: dashboard-widget: TopSearchesWidgetContribution, dashboard-widget: TrendingSearchesWidgetContribution, dashboard-widget: ZeroResultSearchesWidgetContribution, overview-stat: SearchOverviewStatsContribution.
  • Permissions: Shield-generated page permissions for Capell\Search\Filament\Pages\SearchSettingsPage (names and grants depend on host Shield configuration).
  • Public routes: loads routes/web.php; registers SearchFrontendRouteContribution.
  • Database changes: package migrations are declared.
  • Config: config/capell-search.php.
  • Settings: Capell\Search\Settings\SearchSettings.
  • Queues or schedules: scheduled commands search:purge (monthly; package registered).
  • Cache tags: search.
  • Commands: capell:search:screenshot-fixture, search:flush, search:index, search:purge.
  • Keep required Capell packages on compatible v4 releases: capell-app/admin, capell-app/core, capell-app/discovery-foundation, capell-app/frontend.
  • Run migrations before opening package resources or public routes.
  • Review package configuration before production-like verification: config/capell-search.php, Capell\Search\Settings\SearchSettings.
  • Review middleware, throttling, signatures, and public-output safety in routes/web.php before exposing routes.
  • Keep the host Laravel scheduler running so package-registered schedules can execute: search:purge (monthly; package registered).
  • Keep public Blade and cached HTML free of authoring markers, model IDs, permissions, signed editor URLs, and lazy database queries.
  • Custom write integrations must preserve invalidation for search cache tags.
SymptomLikely causeCheckFix
Package surface is missing after installProvider or manifest is not loadedConfirm capell.json, package composer.json, and provider registrationReinstall the package, refresh Composer autoload, and clear host caches
Admin screen or command fails on missing tablePackage migrations have not runCheck the tables listed in Data ModelRun host migrations and rerun the focused package test
Route returns unexpected outputRoute cache, middleware, or signed URL setup does not match the package route fileCheck the route files listed in Technical ShapeClear route cache and verify middleware before exposing public routes
Background work does not runQueue worker or declared schedule is not activeCheck the jobs and scheduled commands listed in Technical ShapeStart the queue worker or host scheduler, then run the focused command or package test
Public output leaks unexpected stateRender data, cache variation, or authoring boundary has regressedCheck public Blade, cache tags, and public-output safety testsMove data loading out of Blade and rerun the package public-output tests
  1. Install the package: composer require capell-app/search.
  2. Open /search?q=Capell+publishing+guide and confirm the public output renders without admin state.