category Zend
package Zend_Search_Lucene
subpackage Search
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Get document for highlighting.

getDocument() : \Zend_Search_Lucene_Document_Html

Returns

\Zend_Search_Lucene_Document_Html$document

Highlight specified words (method is invoked once per subquery)

highlight(string|array $words) 

Parameters

$words

stringarray

Words to highlight. They could be organized using the array or string.

Set document for highlighting.

setDocument(\Zend_Search_Lucene_Document_Html $document) 

Parameters

$document

\Zend_Search_Lucene_Document_Html