1<?php 2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project 3// 4// All Rights Reserved. See copyright.txt for details and a complete list of authors. 5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. 6// $Id$ 7 8class Search_Elastic_ResultSet extends Search_ResultSet 9{ 10 function highlight($content) 11 { 12 if (isset($content['_highlight'])) { 13 return strip_tags($content['_highlight'], '<em>'); 14 } 15 } 16} 17