Completed
Push — master ( 43b316...3655f7 )
by
unknown
18s queued 10s
created
code/model/CwpSolrIndex.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -9,22 +9,22 @@
 block discarded – undo
9 9
  */
10 10
 class CwpSolrIndex extends CwpSearchIndex
11 11
 {
12
-    public function init()
13
-    {
14
-        $this->addClass(SiteTree::class);
12
+	public function init()
13
+	{
14
+		$this->addClass(SiteTree::class);
15 15
 
16
-        // By default, we only add text fields that are 'visible' to users (where the content is directly visible on
17
-        // the website), along with the 'meta' fields that are commonly used to boost / refine search results
18
-        $this->addFulltextField('Title');
19
-        $this->addFulltextField('MenuTitle');
20
-        $this->addFulltextField('Content');
21
-        $this->addFulltextField('MetaDescription');
22
-        $this->addFulltextField('ExtraMeta');
16
+		// By default, we only add text fields that are 'visible' to users (where the content is directly visible on
17
+		// the website), along with the 'meta' fields that are commonly used to boost / refine search results
18
+		$this->addFulltextField('Title');
19
+		$this->addFulltextField('MenuTitle');
20
+		$this->addFulltextField('Content');
21
+		$this->addFulltextField('MetaDescription');
22
+		$this->addFulltextField('ExtraMeta');
23 23
 
24
-        // Adds 'ShowInSearch' boolean field to Solr document so we can later ensure that only documents included in
25
-        // search are returned by Solr.
26
-        $this->addFilterField('ShowInSearch');
24
+		// Adds 'ShowInSearch' boolean field to Solr document so we can later ensure that only documents included in
25
+		// search are returned by Solr.
26
+		$this->addFilterField('ShowInSearch');
27 27
 
28
-        parent::init();
29
-    }
28
+		parent::init();
29
+	}
30 30
 }
Please login to merge, or discard this patch.