Getting Started with Zend_Search_Lucene. Index Opening and Creation
Translations of this material:
- into Russian: Перевод "Getting Started with Zend_Search_Lucene. Index Opening and Creation". 12% translated in draft.
-
Submitted for translation by antdmi 29.04.2011
Translate into another language
Text
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
01. $index = Zend_Search_Lucene::create($indexPath);
Example #2 Lucene Index Opening
01. $index = Zend_Search_Lucene::open($indexPath);
