nqxcode/laravel-lucene-search
Laravel package that adds Lucene-powered full-text search to your app. Index Eloquent models and query them with fast, relevant results, plus helpers for managing indexes and integrating search into common Laravel workflows.
Searchable), enabling seamless query builder integration (e.g., Model::search($query)->get()).robmorgan/phplucene). Dependency age raises risks of security vulnerabilities or maintenance gaps.boost parameters) requires manual configuration. No benchmarks provided for Laravel-specific use cases.str_get_html in Laravel 5) or a fork. Consider wrapping the package in a service layer to isolate changes.WildcardQuery, FacetField).robmorgan/phplucene).config/lucene.php.Searchable trait to Eloquent models.toSearchableArray() to map model attributes to Lucene fields.LIKE queries with Model::search($query).ModelCreated, ModelUpdated).robmorgan/phplucene or ZF2 Lucene for security patches. Fork if necessary.composer.json to avoid breaking changes.Lucene\QueryParser to validate syntax.Model::search($query)->toLuceneQuery()).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Lucene process crashes | Search functionality broken | Implement a health check + auto-restart (e.g., PM2). |
| Disk full (index growth) | Index corruption or OOM | Set up disk alerts; archive old indexes. |
| Schema changes break indexes | Search returns no results | Automate index rebuilds on migrations. |
| Network partition (Lucene DB) | Slow queries or timeouts | Fallback to database LIKE queries (with caveats). |
| PHP version incompatibility | Package fails to load | Use Docker to isolate PHP versions. |
+title:laravel -framework:zend).boost values, analyzers, and index structure.LukeRequestHandler for a web-based index inspector (if using ZF2 Lucene).How can I help you explore Laravel packages today?