Commit 20256295 authored by Bas de Nooijer's avatar Bas de Nooijer

Merge commit '48967e5b' into develop

parents 99016c93 48967e5b
...@@ -436,6 +436,57 @@ class Solarium_Query_Select_Component_Highlighting extends Solarium_Query_Select ...@@ -436,6 +436,57 @@ class Solarium_Query_Select_Component_Highlighting extends Solarium_Query_Select
{ {
return $this->getOption('simplepostfix'); return $this->getOption('simplepostfix');
} }
/**
* Set tag prefix option
*
* Solr option h1.tag.post
*
* @param string $prefix
* @return Solarium_Query_Select_Component_Highlighting Provides fluent interface
*/
public function setTagPrefix($prefix)
{
return $this->_setOption('tagprefix', $prefix);
}
/**
* Get tag prefix option
*
* Solr option hl.tag.pre
*
* @return string|null
*/
public function getTagPrefix()
{
return $this->getOption('tagprefix');
}
/**
* Set tag postfix option
*
* Solr option h1.tag.post
*
* @param string $postfix
* @return Solarium_Query_Select_Component_Highlighting Provides fluent interface
*/
public function setTagPostfix($postfix)
{
return $this->_setOption('tagpostfix', $postfix);
}
/**
* Get tag postfix option
*
* Solr option hl.tag.post
*
* @return string|null
*/
public function getTagPostfix()
{
return $this->getOption('tagpostfix');
}
/** /**
* Set fragmenter option * Set fragmenter option
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment