Skip to content

Commit

Permalink
CS Fixes and added docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Firesphere committed Aug 31, 2019
1 parent 13991d0 commit de677c1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Factories/QueryComponentFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

/**
* Class QueryComponentFactory
*
* Build a query component for each available build part
* @package Firesphere\SolrSearch\Factories
*/
class QueryComponentFactory
Expand All @@ -22,12 +24,20 @@ class QueryComponentFactory
use QueryComponentBoostTrait;
use QueryComponentFacetTrait;

/**
* Default fields that should always be added
* @var array
*/
public const DEFAULT_FIELDS = [
SolrCoreService::ID_FIELD,
SolrCoreService::CLASS_ID_FIELD,
SolrCoreService::CLASSNAME
];

/**
* Build methods to run
* @var array
*/
protected static $builds = [
'Terms',
'ViewFilter',
Expand Down
2 changes: 2 additions & 0 deletions src/Helpers/SolrLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/**
* Class SolrLogger
*
* Log information from Solr to the CMS for reference
* @package Firesphere\SolrSearch\Helpers
*/
class SolrLogger
Expand Down

0 comments on commit de677c1

Please sign in to comment.