Completed
Push — dev2 ( 143263...a90a23 )
by Gordon
02:54
created
src/SilverStripe/Elastica/ElasticaService.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -186,6 +186,9 @@  discard block
 block discarded – undo
186 186
 	}
187 187
 
188 188
 
189
+	/**
190
+	 * @param Query $query
191
+	 */
189 192
 	private function addExtractedQueryTermsForMoreLikeThis($query, &$highlights) {
190 193
 		if($query->MoreLikeThis) {
191 194
 			$termsMatchingQuery = array();
@@ -202,6 +205,9 @@  discard block
 block discarded – undo
202 205
 	}
203 206
 
204 207
 
208
+	/**
209
+	 * @param Search $search
210
+	 */
205 211
 	private function addTypesToSearch(&$search, $type) {
206 212
 		// If the query is a 'more like this' we can get the terms used for searching by performing
207 213
 		// an extra query, in this case a query validation with explain and rewrite turned on
Please login to merge, or discard this patch.