Perform the following steps for installing ZendSearch\Lucene
:
ZendSearch\Lucene
was not available as a composer package at the time of writing this book. So, we will check out the source from the GitHub repository. The repository is available at https://github.com/zendframework/ZendSearch.Next we need to navigate to the
vendor
folder:$ cd /var/www/CommunicationApp/ vendor/
Clone the Zend search repository into the
vendor
folder:$ git clone https://github.com/zendframework/ZendSearch.git ZendSearch
Next we should configure the ZendSearch library using composer:
$ cd ZendSearch/ $ curl -s https://getcomposer.org/installer | php $ php composer.phar install
Once the library is configured, we will need to define a module-level configuration to store the index location. To do this, we need to modify
CommunicationApp/module/Users/config/module.config.php
, and add a new configuration forsearch_index
:// MODULE CONFIGURATIONS 'module_config'...