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

Merge commit '5ec5bf62' into develop

parents 2fb0fe4c 5ec5bf62
...@@ -24,7 +24,7 @@ class ProductQuery extends Solarium_Query_Select{ ...@@ -24,7 +24,7 @@ class ProductQuery extends Solarium_Query_Select{
} }
// This query inherits all of the query params of it's parent (using parent::_init) and adds some more // This query inherits all of the query params of its parent (using parent::_init) and adds some more
// Ofcourse it could also alter or remove settings // Ofcourse it could also alter or remove settings
class ProductPriceLimitedQuery extends ProductQuery{ class ProductPriceLimitedQuery extends ProductQuery{
......
...@@ -25,7 +25,7 @@ for($i=1; $i<=8; $i++) { ...@@ -25,7 +25,7 @@ for($i=1; $i<=8; $i++) {
echo 'Server: ' . $loadbalancer->getLastServerKey() .'<hr/>'; echo 'Server: ' . $loadbalancer->getLastServerKey() .'<hr/>';
} }
// force a server for a query (normally solr 3 is extremely unlikely based on it's weight) // Force a server for a query (normally solr 3 is extremely unlikely based on its weight).
$loadbalancer->setForcedServerForNextQuery('solr3'); $loadbalancer->setForcedServerForNextQuery('solr3');
$resultset = $client->select($query); $resultset = $client->select($query);
echo 'Query execution with server forced to solr3<br/>'; echo 'Query execution with server forced to solr3<br/>';
...@@ -44,4 +44,4 @@ $client->ping($query); ...@@ -44,4 +44,4 @@ $client->ping($query);
echo 'Non-loadbalanced ping query, should not display a loadbalancing server:<br/>'; echo 'Non-loadbalanced ping query, should not display a loadbalancing server:<br/>';
echo 'Ping server: ' . $loadbalancer->getLastServerKey() .'<hr/>'; echo 'Ping server: ' . $loadbalancer->getLastServerKey() .'<hr/>';
htmlFooter(); htmlFooter();
\ No newline at end of file
...@@ -79,8 +79,8 @@ class Solarium_Configurable ...@@ -79,8 +79,8 @@ class Solarium_Configurable
/** /**
* Set options * Set options
* *
* If $options is an object it will be converted into an array by called * If $options is an object, it will be converted into an array by calling
* it's toArray method. This is compatible with the Zend_Config classes in * its toArray method. This is compatible with the Zend_Config classes in
* Zend Framework, but can also easily be implemented in any other object. * Zend Framework, but can also easily be implemented in any other object.
* *
* @throws Solarium_Exception * @throws Solarium_Exception
...@@ -175,4 +175,4 @@ class Solarium_Configurable ...@@ -175,4 +175,4 @@ class Solarium_Configurable
return $this->_options; return $this->_options;
} }
} }
\ No newline at end of file
...@@ -183,7 +183,7 @@ class Solarium_Plugin_CustomizeRequest extends Solarium_Plugin_Abstract ...@@ -183,7 +183,7 @@ class Solarium_Plugin_CustomizeRequest extends Solarium_Plugin_Abstract
/** /**
* Remove a single Customization * Remove a single Customization
* *
* You can remove a Customization by passing it's key, or by passing the Customization instance * You can remove a Customization by passing its key, or by passing the Customization instance.
* *
* @param string|Solarium_Plugin_CustomizeRequest_Customization $customization * @param string|Solarium_Plugin_CustomizeRequest_Customization $customization
* @return Solarium_Plugin_CustomizeRequest Provides fluent interface * @return Solarium_Plugin_CustomizeRequest Provides fluent interface
...@@ -262,4 +262,4 @@ class Solarium_Plugin_CustomizeRequest extends Solarium_Plugin_Abstract ...@@ -262,4 +262,4 @@ class Solarium_Plugin_CustomizeRequest extends Solarium_Plugin_Abstract
} }
} }
} }
\ No newline at end of file
...@@ -99,8 +99,8 @@ class Solarium_Plugin_Loadbalancer extends Solarium_Plugin_Abstract ...@@ -99,8 +99,8 @@ class Solarium_Plugin_Loadbalancer extends Solarium_Plugin_Abstract
/** /**
* Presets of the client adapter * Presets of the client adapter
* *
* These settings are used to restore the adapter to it's original status for queries * These settings are used to restore the adapter to its original status for queries
* that cannot be loadbalanced (for instance update queries that need to go to the master) * that cannot be loadbalanced (for instance, update queries that need to go to the master)
* *
* @var array * @var array
*/ */
...@@ -540,4 +540,4 @@ class Solarium_Plugin_Loadbalancer extends Solarium_Plugin_Abstract ...@@ -540,4 +540,4 @@ class Solarium_Plugin_Loadbalancer extends Solarium_Plugin_Abstract
return $this->_randomizer; return $this->_randomizer;
} }
} }
\ No newline at end of file
...@@ -707,7 +707,7 @@ class Solarium_Query_Select extends Solarium_Query ...@@ -707,7 +707,7 @@ class Solarium_Query_Select extends Solarium_Query
/** /**
* Remove a single filterquery * Remove a single filterquery
* *
* You can remove a filterquery by passing it's key, or by passing the filterquery instance * You can remove a filterquery by passing its key, or by passing the filterquery instance
* *
* @param string|Solarium_Query_Select_FilterQuery $filterQuery * @param string|Solarium_Query_Select_FilterQuery $filterQuery
* @return Solarium_Query_Select Provides fluent interface * @return Solarium_Query_Select Provides fluent interface
...@@ -838,7 +838,7 @@ class Solarium_Query_Select extends Solarium_Query ...@@ -838,7 +838,7 @@ class Solarium_Query_Select extends Solarium_Query
/** /**
* Remove a component instance * Remove a component instance
* *
* You can remove a component by passing it's key or the component instance * You can remove a component by passing its key or the component instance.
* *
* @param string|Solarium_Query_Select_Component $component * @param string|Solarium_Query_Select_Component $component
* @return Solarium_Query_Select Provides fluent interface * @return Solarium_Query_Select Provides fluent interface
......
...@@ -192,7 +192,7 @@ class Solarium_Query_Select_Component_Facet_MultiQuery extends Solarium_Query_Se ...@@ -192,7 +192,7 @@ class Solarium_Query_Select_Component_Facet_MultiQuery extends Solarium_Query_Se
/** /**
* Remove a single facetquery * Remove a single facetquery
* *
* You can remove a facetquery by passing it's key or the facetquery instance * You can remove a facetquery by passing its key or the facetquery instance.
* *
* @param string|Solarium_Query_Select_Component_Facet_Query $query * @param string|Solarium_Query_Select_Component_Facet_Query $query
* @return Solarium_Query_Select_Component_Facet_MultiQuery Provides fluent interface * @return Solarium_Query_Select_Component_Facet_MultiQuery Provides fluent interface
...@@ -297,4 +297,4 @@ class Solarium_Query_Select_Component_Facet_MultiQuery extends Solarium_Query_Se ...@@ -297,4 +297,4 @@ class Solarium_Query_Select_Component_Facet_MultiQuery extends Solarium_Query_Se
return parent::clearExcludes(); return parent::clearExcludes();
} }
} }
\ No newline at end of file
...@@ -326,7 +326,7 @@ class Solarium_Query_Select_Component_FacetSet extends Solarium_Query_Select_Com ...@@ -326,7 +326,7 @@ class Solarium_Query_Select_Component_FacetSet extends Solarium_Query_Select_Com
/** /**
* Remove a single facet * Remove a single facet
* *
* You can remove a facet by passing it's key or the facet instance * You can remove a facet by passing its key or the facet instance
* *
* @param string|Solarium_Query_Select_Component_Facet $facet * @param string|Solarium_Query_Select_Component_Facet $facet
* @return Solarium_Query Provides fluent interface * @return Solarium_Query Provides fluent interface
......
...@@ -200,7 +200,7 @@ class Solarium_Query_Select_Component_Stats extends Solarium_Query_Select_Compon ...@@ -200,7 +200,7 @@ class Solarium_Query_Select_Component_Stats extends Solarium_Query_Select_Compon
/** /**
* Remove a single field * Remove a single field
* *
* You can remove a field by passing it's key, or by passing the field instance * You can remove a field by passing its key, or by passing the field instance
* *
* @param string|Solarium_Query_Select_Component_Stats_Field $field * @param string|Solarium_Query_Select_Component_Stats_Field $field
* @return Solarium_Query_Select_Component_Stats Provides fluent interface * @return Solarium_Query_Select_Component_Stats Provides fluent interface
......
...@@ -199,7 +199,7 @@ class Solarium_Query_Update extends Solarium_Query ...@@ -199,7 +199,7 @@ class Solarium_Query_Update extends Solarium_Query
/** /**
* Remove a command * Remove a command
* *
* You can remove a command by passing it's key or by passing the command instance * You can remove a command by passing its key or by passing the command instance.
* *
* @param string|Solarium_Query_Update_Command $command * @param string|Solarium_Query_Update_Command $command
* @return Solarium_Query_Update Provides fluent interface * @return Solarium_Query_Update Provides fluent interface
...@@ -391,7 +391,7 @@ class Solarium_Query_Update extends Solarium_Query ...@@ -391,7 +391,7 @@ class Solarium_Query_Update extends Solarium_Query
* Set a custom document class for use in the createDocument method * Set a custom document class for use in the createDocument method
* *
* This class should extend Solarium_Document_ReadWrite or * This class should extend Solarium_Document_ReadWrite or
* at least be compatible with it's interface * at least be compatible with its interface.
* *
* @param string $value classname * @param string $value classname
* @return Solarium_Query * @return Solarium_Query
...@@ -432,4 +432,4 @@ class Solarium_Query_Update extends Solarium_Query ...@@ -432,4 +432,4 @@ class Solarium_Query_Update extends Solarium_Query
return new $class($fields, $boosts); return new $class($fields, $boosts);
} }
} }
\ No newline at end of file
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
* Select field facet result * Select field facet result
* *
* A field facet will usually return a dataset of multiple rows, in each row a * A field facet will usually return a dataset of multiple rows, in each row a
* value and it's count. You can access the values as an array using * value and its count. You can access the values as an array using
* {@link getValues()} or iterate this object. * {@link getValues()} or iterate this object.
* *
* @package Solarium * @package Solarium
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
* Select multiquery facet result * Select multiquery facet result
* *
* A multiquery facet will usually return a dataset of multiple rows, in each * A multiquery facet will usually return a dataset of multiple rows, in each
* row a query key and it's count. You can access the values as an array using * row a query key and its count. You can access the values as an array using
* {@link getValues()} or iterate this object. * {@link getValues()} or iterate this object.
* *
* @package Solarium * @package Solarium
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
* Select range facet result * Select range facet result
* *
* A multiquery facet will usually return a dataset of multiple count, in each * A multiquery facet will usually return a dataset of multiple count, in each
* row a range as key and it's count. You can access the values as an array using * row a range as key and its count. You can access the values as an array using
* {@link getValues()} or iterate this object. * {@link getValues()} or iterate this object.
* *
* The extra counts 'before', 'between' and 'after' are only available if the * The extra counts 'before', 'between' and 'after' are only available if the
......
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