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
*/
protected $_options = array(
'handler' => 'mlt',
//'resultclass' => 'Solarium_Result_MoreLikeThis',
'resultclass' => 'Solarium_Result_Select',
'resultclass' => 'Solarium_Result_MoreLikeThis',
'documentclass' => 'Solarium_Document_ReadOnly',
'query' => '*:*',
'start' => 0,
......@@ -790,4 +789,4 @@ class Solarium_Query_MoreLikeThis extends Solarium_Query
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