spatie/laravel-site-search
Crawl and index your Laravel site for fast full-text search—like a private Google. Highly customizable crawling and indexing, with concurrent requests. Uses SQLite FTS5 by default (no external services), or Meilisearch for advanced features.
This package is able to crawl and create search indexes for multiple sites.
You probably used the site-search:create command to create your first site. This command creates a record in the site_search_configs table.
To crawl and create multiple search indexes, just create multiple rows in that table. When executing site-search:crawl an indexing process for each of those sites will be performed.
These are the attributes you should manually update in the table:
name: the name of your indexenabled: if set to false , the site-search:crawl command will not crawl and update this indexcrawl_url: the url to be crawled to populate this indexdriver_class: the search driver to use. If this value is null, config('site-search.default_driver') will be used when indexing the siteprofile_class: the search profile to use. If this value is null, config('site-search.default_profile') will be used when indexing the siteindex_base_name: the name that is used by the underlying search engine to determine its index nameextra: used to customize driver-specific settings (see Meilisearch driver or Database driver)These attributes are set by the package, you should not manually set or update them.
index_name: the real name of the underlying indexnumber_of_urls_indexed: the number of URLs that were crawled to created the index in index_namepending_index_name: will be used to hold the temporary index name that is used while indexingcrawling_started_at: holds the date of when the crawling started when building up this indexcrawling_ended_at: holds the date of when the crawling ended when building up this indexHow can I help you explore Laravel packages today?