Commit 1dee3e0b authored by Gasol Wu's avatar Gasol Wu

specify resultclass Solarium_Result_MoreLikeThis

parent 1242aab7
...@@ -79,8 +79,7 @@ class Solarium_Query_MoreLikeThis extends Solarium_Query ...@@ -79,8 +79,7 @@ class Solarium_Query_MoreLikeThis extends Solarium_Query
*/ */
protected $_options = array( protected $_options = array(
'handler' => 'mlt', 'handler' => 'mlt',
//'resultclass' => 'Solarium_Result_MoreLikeThis', 'resultclass' => 'Solarium_Result_MoreLikeThis',
'resultclass' => 'Solarium_Result_Select',
'documentclass' => 'Solarium_Document_ReadOnly', 'documentclass' => 'Solarium_Document_ReadOnly',
'query' => '*:*', 'query' => '*:*',
'start' => 0, 'start' => 0,
...@@ -790,4 +789,4 @@ class Solarium_Query_MoreLikeThis extends Solarium_Query ...@@ -790,4 +789,4 @@ class Solarium_Query_MoreLikeThis extends Solarium_Query
return $this->getComponent(Solarium_Query_Select::COMPONENT_HIGHLIGHTING, true); return $this->getComponent(Solarium_Query_Select::COMPONENT_HIGHLIGHTING, true);
} }
} }
\ No newline at end of file
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