bambi/bambi-postgres-text-search-bundle
Pros:
tsvector, tsquery, ranking, and ranking functions) directly, avoiding application-layer keyword splitting or fuzzy matching.author.name) via dot notation, enabling complex query composition without manual joins.'english'), and vectorization flags.Cons:
pg_trgm (for fuzzy matching) or tsvector extensions enabled. May need schema adjustments (e.g., GIN indexes on text search columns).@Column(type="text")) may need validation.ts_query) may conflict with existing API routes.ts_rank_cd vs. ts_rank)?tsvector?user.profile.bio).tsvector, pg_trgm).Book) and basic fields (name, isbn).?postgres_text_search=laravel.author.name) incrementally.GIN indexes on text search columns: CREATE INDEX idx_book_search ON book USING GIN (to_tsvector('english', name || ' ' || isbn)).ts_rank_cd) via bundle arguments.tsvector improvements).@Column(type="json")) may need manual handling.CREATE EXTENSION IF NOT EXISTS pg_trgm;.GIN indexes to searchable columns.composer require bambi/bambi-postgres-text-search-bundle.config/bundles.php.app.book.text_search_match_filter).$textSearchParameterName).?postgres_text_search=test).?postgres_text_search=author.name:john).services.yaml, easing updates.tsquery).user.address.city) could generate expensive SQL.GIN index management for large tables.pg_cache).pg_stat_statements.How can I help you explore Laravel packages today?