Programmer's Reference Guide

Lucene Index Structure

Index Opening and Creation

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

  1. $index = Zend_Search_Lucene::create($indexPath);

Example #2 Lucene Index Opening

  1. $index = Zend_Search_Lucene::open($indexPath);

Lucene Index Structure

+ Add A Comment

Please do not report issues via comments; use the ZF Issue Tracker.

If you have a JIRA/Crowd account, we suggest you login first before commenting.

  • BBCode is allowed in the comment markup

  • Select a Version

    Languages Available

    Components

    Search the Manual