Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Site Search Laravel Package

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.

View on GitHub
Deep Wiki
Context7

title: Creating multiple search indexes weight: 1

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 index
  • enabled: if set to false , the site-search:crawl command will not crawl and update this index
  • crawl_url: the url to be crawled to populate this index
  • driver_class: the search driver to use. If this value is null, config('site-search.default_driver') will be used when indexing the site
  • profile_class: the search profile to use. If this value is null, config('site-search.default_profile') will be used when indexing the site
  • index_base_name: the name that is used by the underlying search engine to determine its index name
  • extra: 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 index
  • number_of_urls_indexed: the number of URLs that were crawled to created the index in index_name
  • pending_index_name: will be used to hold the temporary index name that is used while indexing
  • crawling_started_at: holds the date of when the crawling started when building up this index
  • crawling_ended_at: holds the date of when the crawling ended when building up this index
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport