Commit 7dcf55c1 authored by Gasol Wu's avatar Gasol Wu

Lots of phpdoc fixes based on docblox error output

parent 1548dcc7
......@@ -71,6 +71,10 @@ class Solarium_Client extends Solarium_Configurable
* Querytype ping
*/
const QUERYTYPE_PING = 'ping';
/**
* Querytype morelikethis
*/
const QUERYTYPE_MORELIKETHIS = 'mlt';
/**
......
......@@ -31,6 +31,9 @@
* @copyright Copyright 2011 Bas de Nooijer <solarium@raspberry.nl>
* @license http://github.com/basdenooijer/solarium/raw/master/COPYING
* @link http://www.solarium-project.org/
*
* @package Solarium
* @subpackage Client
*/
/**
......
......@@ -53,7 +53,15 @@ class Solarium_Query_MoreLikeThis extends Solarium_Query
* Query components
*/
const COMPONENT_DISMAX = 'dismax';
/**
* Query component morelikethis
*/
const COMPONENT_MORELIKETHIS = 'morelikethis';
/**
* Query component highlighting
*/
const COMPONENT_HIGHLIGHTING = 'highlighting';
/**
......
......@@ -58,6 +58,11 @@
*/
class Solarium_Result_MoreLikeThis extends Solarium_Result_Select
{
/**
* interesting terms
*/
protected $_interestingTerms;
/**
* this will show what "interesting" terms are used for the MoreLikeThis
* query. These are the top tf/idf terms. NOTE: if you select 'details',
......@@ -68,8 +73,6 @@ class Solarium_Result_MoreLikeThis extends Solarium_Result_Select
*
* @var array
*/
protected $_interestingTerms;
public function getInterestingTerms()
{
$query = $this->getQuery();
......
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