diff --git a/module/VuFind/src/VuFind/Search/Manager.php b/module/VuFind/src/VuFind/Search/Manager.php index 05e9354da24fb31bb2381cc84a37b0bb38717c94..7fa4554d9bc16c0eec0f0cb60795e5c7650aa3e1 100644 --- a/module/VuFind/src/VuFind/Search/Manager.php +++ b/module/VuFind/src/VuFind/Search/Manager.php @@ -40,8 +40,17 @@ use Zend\ServiceManager\ServiceLocatorAwareInterface, */ class Manager implements ServiceLocatorAwareInterface { + /** + * Scoped copy of the config array + */ protected $config; + /** + * Search class id + */ protected $classId = 'Solr'; + /** + * An array of all the current options + */ protected $optionsStore = array(); /** diff --git a/module/VuFind/src/VuFind/Search/Minified.php b/module/VuFind/src/VuFind/Search/Minified.php index fc9491c4ab881433fbf5fa62577a89de1b1a0167..dd4d4625f817f63e6a75691e92c7658b38692f7f 100644 --- a/module/VuFind/src/VuFind/Search/Minified.php +++ b/module/VuFind/src/VuFind/Search/Minified.php @@ -52,8 +52,17 @@ namespace VuFind\Search; */ class Minified { + /** + * Search terms + */ public $t = array(); + /** + * Filters + */ public $f = array(); + /** + * ID, start tIme, query Speed, Result total, search TYpe, search CLass id + */ public $id, $i, $s, $r, $ty, $pc, $rc; /** diff --git a/module/VuFind/src/VuFind/Search/MixedList/Params.php b/module/VuFind/src/VuFind/Search/MixedList/Params.php index 2c383d1b67b3f078a89127878d7d062e54bfddc8..3bcd546011e89234c68831bdccfeaabb73a180c7 100644 --- a/module/VuFind/src/VuFind/Search/MixedList/Params.php +++ b/module/VuFind/src/VuFind/Search/MixedList/Params.php @@ -39,6 +39,9 @@ use VuFind\Search\Base\Params as BaseParams; */ class Params extends BaseParams { + /** + * Array of target record ids + */ protected $recordsToRequest; /** diff --git a/module/VuFind/src/VuFind/Search/Solr/Params.php b/module/VuFind/src/VuFind/Search/Solr/Params.php index a33a427046b19c617be53a6426c4c944c65ec9e5..03be2c5ad3de64eecd10649139852beec9502fa4 100644 --- a/module/VuFind/src/VuFind/Search/Solr/Params.php +++ b/module/VuFind/src/VuFind/Search/Solr/Params.php @@ -39,13 +39,26 @@ use VuFind\Config\Reader as ConfigReader, VuFind\Search\Base\Params as BaseParam */ class Params extends BaseParams { - // Facets + /** + * Facet result limit + */ protected $facetLimit = 30; + /** + * Offset for facet results + */ protected $facetOffset = null; + /** + * Prefix for facet searching + */ protected $facetPrefix = null; + /** + * Sorting order for facet search results + */ protected $facetSort = null; - // Override Query + /** + * Override Query + */ protected $overrideQuery = false; /** diff --git a/module/VuFind/src/VuFind/Search/Solr/Results.php b/module/VuFind/src/VuFind/Search/Solr/Results.php index 393dffcdd0ef6b7ed4c69dded94cad3f0c57eebf..3e5b0bf6ed2c7f40d2b1bf6e84892ffa347aaf2f 100644 --- a/module/VuFind/src/VuFind/Search/Solr/Results.php +++ b/module/VuFind/src/VuFind/Search/Solr/Results.php @@ -42,7 +42,9 @@ use VuFind\Config\Reader as ConfigReader, */ class Results extends BaseResults { - // Raw Solr search response: + /** + * Raw Solr search response: + */ protected $rawResponse = null; /** diff --git a/module/VuFind/src/VuFind/Search/Summon/Options.php b/module/VuFind/src/VuFind/Search/Summon/Options.php index 8bddbba2c781678498c1ce20e49f13d3234144e2..201c8c9c6b96d8b135888dfaadedecad9273cf3a 100644 --- a/module/VuFind/src/VuFind/Search/Summon/Options.php +++ b/module/VuFind/src/VuFind/Search/Summon/Options.php @@ -40,6 +40,9 @@ use VuFind\Config\Reader as ConfigReader, */ class Options extends BaseOptions { + /** + * Maximum number of results + */ protected $resultLimit = 400; /** diff --git a/module/VuFind/src/VuFind/Search/Summon/Params.php b/module/VuFind/src/VuFind/Search/Summon/Params.php index 008236c34357613c2af6d7e9d1a4b945b5b08953..149a298cdce98eeab95246bb3cfe51056a6fb6a7 100644 --- a/module/VuFind/src/VuFind/Search/Summon/Params.php +++ b/module/VuFind/src/VuFind/Search/Summon/Params.php @@ -39,7 +39,13 @@ use VuFind\Search\Base\Params as BaseParams; */ class Params extends BaseParams { + /** + * Settings for all the facets + */ protected $fullFacetSettings = array(); + /** + * Settings for the date facet only + */ protected $dateFacetSettings = array(); /** diff --git a/module/VuFind/src/VuFind/Search/Summon/Results.php b/module/VuFind/src/VuFind/Search/Summon/Results.php index ffd5424e7fbeedd061ee1409af25822480d2e7c7..8bf28e69283bef4978b1c60aae684fca880eacf4 100644 --- a/module/VuFind/src/VuFind/Search/Summon/Results.php +++ b/module/VuFind/src/VuFind/Search/Summon/Results.php @@ -43,7 +43,9 @@ use VuFind\Config\Reader as ConfigReader, */ class Results extends BaseResults { - // Raw search response: + /** + * Raw search response: + */ protected $rawResponse = null; /** diff --git a/module/VuFind/src/VuFind/Search/UrlQueryHelper.php b/module/VuFind/src/VuFind/Search/UrlQueryHelper.php index 634577d9ea0dff9674619a90618490d817aeee97..03d849835ca06ed16404491f6254acc2fb556be6 100644 --- a/module/VuFind/src/VuFind/Search/UrlQueryHelper.php +++ b/module/VuFind/src/VuFind/Search/UrlQueryHelper.php @@ -38,8 +38,17 @@ namespace VuFind\Search; */ class UrlQueryHelper { + /** + * Results object + */ protected $results; + /** + * URL search param + */ protected $basicSearchParam = 'lookfor'; + /** + * Base parameters for every search + */ protected $defaultParams = array(); /** diff --git a/module/VuFind/src/VuFind/Search/WorldCat/Params.php b/module/VuFind/src/VuFind/Search/WorldCat/Params.php index 562355f06063b00e45d24cd65fab489261c65d40..f3a0565252817299dd3c5e222d1cbc7b91789aad 100644 --- a/module/VuFind/src/VuFind/Search/WorldCat/Params.php +++ b/module/VuFind/src/VuFind/Search/WorldCat/Params.php @@ -39,7 +39,9 @@ use VuFind\Search\Base\Params as BaseParams; */ class Params extends BaseParams { - // Override Query + /** + * Override Query + */ protected $overrideQuery = false; /** diff --git a/module/VuFind/src/VuFind/Search/WorldCat/Results.php b/module/VuFind/src/VuFind/Search/WorldCat/Results.php index 5e08e1b665c0a1bebe5c4380a73000e7221b9cf8..f5cd79d3ee2fc2d78db46b24d0ddcb1db2b45a9a 100644 --- a/module/VuFind/src/VuFind/Search/WorldCat/Results.php +++ b/module/VuFind/src/VuFind/Search/WorldCat/Results.php @@ -41,7 +41,9 @@ use VuFind\Config\Reader as ConfigReader, */ class Results extends BaseResults { - // Raw search response: + /** + * Raw search response: + */ protected $rawResponse = null; /**