Lucene library is a general purpose text search engine written entirely in PHP 5 by Zend. Since it stores its index on the file system and does not require a database server, it can add search capabilities to almost any PHP driven website. Lucene supports the following features:
- Ranked searching - best results returned first
- Many powerful query types: phrase queries, boolean queries, wildcard queries, proximity queries, range queries and many others.
- Search by specific field (e.g., title, author, contents)
This module provides zend lucene library for the module developers to use.
Dependency
The module is dependent on Composer manager module
Installation Instructions
Installation using drush is highly recommended for this module.
drush dl composer_manager
drush dl lucene_library
drush en lucene_library -y
It is better to have updated drush, like version 5.9
Please have some patience this might take couple of minutes to download the libraries and dependencies.
Usage
composer_manager_register_autoloader();
$index = ZendSearch\Lucene\Lucene::create(DRUPAL_ROOT . '/sites/all/lucene_index');
Project information
- Module categories: Developer Tools, Site Search
- Created by bappa.sarkar on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 7.x-1.x-dev updated 27 Sep 2013 at 01:19 UTC