--- /dev/null
+<?php\r
+/**\r
+ * Zend Framework\r
+ *\r
+ * LICENSE\r
+ *\r
+ * This source file is subject to the new BSD license that is bundled\r
+ * with this package in the file LICENSE.txt.\r
+ * It is also available through the world-wide-web at this URL:\r
+ * http://framework.zend.com/license/new-bsd\r
+ * If you did not receive a copy of the license and are unable to\r
+ * obtain it through the world-wide-web, please send an email\r
+ * to license@zend.com so we can send you a copy immediately.\r
+ *\r
+ * @category Zend\r
+ * @package Zend_Search_Lucene\r
+ * @subpackage Search\r
+ * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)\r
+ * @license http://framework.zend.com/license/new-bsd New BSD License\r
+ * @version $Id: Interface.php 16971 2009-07-22 18:05:45Z mikaelkael $\r
+ */\r
+\r
+\r
+/**\r
+ * @category Zend\r
+ * @package Zend_Search_Lucene\r
+ * @subpackage Search\r
+ * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)\r
+ * @license http://framework.zend.com/license/new-bsd New BSD License\r
+ */\r
+interface Zend_Search_Lucene_Search_Highlighter_Interface\r
+{\r
+ /**\r
+ * Set document for highlighting.\r
+ *\r
+ * @param Zend_Search_Lucene_Document_Html $document\r
+ */\r
+ public function setDocument(Zend_Search_Lucene_Document_Html $document);\r
+\r
+ /**\r
+ * Get document for highlighting.\r
+ *\r
+ * @return Zend_Search_Lucene_Document_Html $document\r
+ */\r
+ public function getDocument();\r
+\r
+ /**\r
+ * Highlight specified words (method is invoked once per subquery)\r
+ *\r
+ * @param string|array $words Words to highlight. They could be organized using the array or string.\r
+ */\r
+ public function highlight($words);\r
+}\r