Weave 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 Lucene Search Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Search Functionality for Legacy Systems: Enables full-text search capabilities in Laravel applications (4.2/5.x) without requiring a modern search engine like Elasticsearch or Algolia, making it ideal for maintaining or upgrading older systems with limited budget for infrastructure changes.
  • Cost-Effective Alternative to Dedicated Search Engines: Reduces dependency on third-party SaaS search solutions (e.g., Algolia, Elasticsearch) by leveraging open-source Lucene, lowering operational costs and vendor lock-in.
  • Quick MVP for Search Features: Accelerates development of search-heavy features (e.g., e-commerce product search, content discovery) in early-stage products where performance isn’t yet a bottleneck.
  • Hybrid Search Strategy: Allows teams to experiment with Lucene-based search before committing to a more scalable solution (e.g., Elasticsearch) as user base grows.
  • Legacy Migration Path: Provides a bridge for teams migrating from older Laravel versions (4.2/5.x) to newer stacks, preserving search functionality during transition.

When to Consider This Package

  • Avoid if:
    • Your Laravel app runs on Laravel 6+ or 8+ (package is unmaintained; compatibility risks).
    • You need real-time search or high scalability (Lucene lacks distributed indexing).
    • Your dataset exceeds millions of records (performance degrades; consider Elasticsearch/Algolia).
    • You require advanced features (fuzzy search, synonyms, geospatial queries) out of Lucene’s scope.
    • Your team lacks PHP/Lucene expertise (setup/maintenance overhead).
  • Consider if:
    • You’re on Laravel 4.2–5.x and need a lightweight, Eloquent-integrated search solution.
    • Budget or infrastructure constraints prevent adopting dedicated search engines.
    • Search use cases are simple (keyword matching, basic filtering) with moderate query volume.
    • You’re prototyping search features before investing in a scalable backend.

How to Pitch It (Stakeholders)

For Executives: "This package lets us add full-text search to our Laravel app using open-source Lucene, cutting costs by avoiding third-party search tools like Algolia. It’s a low-risk way to test search functionality—ideal for MVPs or legacy systems—before scaling with Elasticsearch later. Upfront trade-off: limited performance at scale, but we save $X/year on search infrastructure."

For Engineering: "Leverages ZF2 Lucene to index Eloquent models, giving us Eloquent-like syntax for searches (e.g., Model::search('query')->get()). Works out-of-the-box for Laravel 5.x, but note: unmaintained (last update 2020). Best for small-to-medium datasets or temporary search needs. If we commit, we’ll need to monitor performance and plan a migration to Elasticsearch as we grow."

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.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table