Caution: The documentation you are viewing is
for an older version of Zend Framework.
You can find the documentation of the current version at:
https://docs.zendframework.com/
Index Opening and Creation - Getting Started with Zend_Search_Lucene
All index operations (e.g., creating a new index, adding a document to the index, deleting a document, searching through the index) need an index object. One can be obtained using one of the following two methods.
Example #1 Lucene Index Creation
Example #2 Lucene Index Opening