Completed
Push — dev2 ( 1d8072...a77d0b )
by Gordon
03:05
created
searchpage/ElasticSearchPage_Controller.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 			$this->checkForSimulatedServerDown();
119 119
 
120 120
 			// now actually perform the search using the original query
121
-			$paginated = $es->search($this->QueryText, $this->FieldsToSearch,$this->TestMode);
121
+			$paginated = $es->search($this->QueryText, $this->FieldsToSearch, $this->TestMode);
122 122
 
123 123
 			// This is the case of the original query having a better one suggested.  Do a
124 124
 			// second search for the suggested query, throwing away the original
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
 
320 320
 		// For a 'more like this' search, use the original unstemmed words
321 321
 		// This means using the .standard named field of text
322
-		if ($this->action == 'similar') {
322
+		if($this->action == 'similar') {
323 323
 			// Use the standard field for more like this, ie not stemmed
324 324
 			foreach($fieldsToSearch as $field => $value) {
325 325
 				$fieldsToSearch[$field . '.standard'] = $value;
Please login to merge, or discard this patch.