\Zend_Search_Lucene_Search_Highlighter_Default
- Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Search_Lucene_Search_Highlighter_Default
implements
Zend_Search_Lucene_Search_Highlighter_Interface
{
- // members
- protected array $_highlightColors = ;
- protected integer $_currentColorIndex = 0;
- protected Zend_Search_Lucene_Document_Html $_doc;
- // methods
- public void setDocument()
- public Zend_Search_Lucene_Document_Html getDocument()
- public void highlight()
Hierarchy
Members
protected
- $_currentColorIndex
—
integer
Index of current color for highlighting - $_doc
—
Zend_Search_Lucene_Document_Html
HTML document for highlighting - $_highlightColors
—
array
List of colors for text highlighting
Methods
public
- getDocument() — Get document for highlighting.
- highlight() — Highlight specified words
- setDocument() — Set document for highlighting.