nerdexam
Zend

ZF-100-500 · Question #10

Which of the following code sn ippets will you use to create an index in Zend_Search_Lucene? Zend ZF-100-500 Exam 1. <?php 2. ????????????? 3. ????????????? 4. $Search_Doc…

The correct answer is C. $Search_Index =. See the full explanation below for the reasoning.

Question

Which of the following code sn ippets will you use to create an index in Zend_Search_Lucene? Zend ZF-100-500 Exam 1. <?php 2. ????????????? 3. ????????????? 4. $Search_Doc ->addField(Zend_Search_Lucene_Field::Text('url', $docUrl)); 5. $Search_Doc ->addField( 6. Zend_Search_Lucene_Field::UnStored( 7. 'contents', 8. $docContent 9. ) 10. ); 11. $index->addDocument($Search_Doc);

Options

  • A$Search_Index =
  • B$Search_Index =
  • C$Search_Index =
  • D$Search_Index =

How the community answered

(50 responses)
  • A
    2% (1)
  • B
    4% (2)
  • C
    84% (42)
  • D
    10% (5)

Community Discussion

No community discussion yet for this question.

Full ZF-100-500 Practice