Use factory function to create records of a SOLR record collection
* VuFindSearch/Backend/Solr/Response/Json/RecordCollectionFactory.php (__construct, factory): Use factory function to create collection records instead of classname. * VuFind/Search/Factory/SolrDefaultBackendFactory.php (createBackend): New function. Set RecordCollectionFactory with factory function for SOLR records.
Showing
- module/VuFind/src/VuFind/Search/Factory/SolrDefaultBackendFactory.php 21 additions, 0 deletions...d/src/VuFind/Search/Factory/SolrDefaultBackendFactory.php
- module/VuFindSearch/src/VuFindSearch/Backend/Solr/Response/Json/RecordCollectionFactory.php 12 additions, 6 deletions...ch/Backend/Solr/Response/Json/RecordCollectionFactory.php
Please register or sign in to comment