Перевод "Getting Started with Zend_Search_Lucene. Index Opening and Creation" | Participants
|
- Statistics
- Participants
- Translate into Russian
- Translation result
- 12% translated in draft.
Join Translated.by to translate! If you already have a Translated.by account, please sign in.
If you do not want to register an account, you can sign in with OpenID.
If you do not want to register an account, you can sign in with OpenID.
1
Getting Started with Zend_Search_Lucene. 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 | ||
01. $index = Zend_Search_Lucene::create($indexPath); | 01. $index = Zend_Search_Lucene::create($indexPath); | |
Example #2 Lucene Index Opening | ||
01. $index = Zend_Search_Lucene::open($indexPath); |
1
