Optimize record collection creation. (#1488)
- Avoids checking for existing records when we know there shouldn't be any duplicates. - Moves setting source identifier of records inside the collection class to make it faster.
Showing
- module/VuFindSearch/src/VuFindSearch/Backend/AbstractBackend.php 1 addition, 4 deletions...VuFindSearch/src/VuFindSearch/Backend/AbstractBackend.php
- module/VuFindSearch/src/VuFindSearch/Backend/BrowZine/Response/RecordCollectionFactory.php 1 addition, 1 deletion...rch/Backend/BrowZine/Response/RecordCollectionFactory.php
- module/VuFindSearch/src/VuFindSearch/Backend/EDS/Response/RecordCollectionFactory.php 1 addition, 1 deletion...ndSearch/Backend/EDS/Response/RecordCollectionFactory.php
- module/VuFindSearch/src/VuFindSearch/Backend/EIT/Response/XML/RecordCollectionFactory.php 1 addition, 1 deletion...arch/Backend/EIT/Response/XML/RecordCollectionFactory.php
- module/VuFindSearch/src/VuFindSearch/Backend/LibGuides/Response/RecordCollectionFactory.php 1 addition, 1 deletion...ch/Backend/LibGuides/Response/RecordCollectionFactory.php
- module/VuFindSearch/src/VuFindSearch/Backend/Pazpar2/Response/RecordCollectionFactory.php 1 addition, 1 deletion...arch/Backend/Pazpar2/Response/RecordCollectionFactory.php
- module/VuFindSearch/src/VuFindSearch/Backend/Primo/Response/RecordCollectionFactory.php 1 addition, 1 deletion...Search/Backend/Primo/Response/RecordCollectionFactory.php
- module/VuFindSearch/src/VuFindSearch/Backend/Solr/Response/Json/RecordCollectionFactory.php 1 addition, 1 deletion...ch/Backend/Solr/Response/Json/RecordCollectionFactory.php
- module/VuFindSearch/src/VuFindSearch/Backend/Summon/Response/RecordCollectionFactory.php 1 addition, 1 deletion...earch/Backend/Summon/Response/RecordCollectionFactory.php
- module/VuFindSearch/src/VuFindSearch/Backend/WorldCat/Response/XML/RecordCollectionFactory.php 1 addition, 1 deletion...Backend/WorldCat/Response/XML/RecordCollectionFactory.php
- module/VuFindSearch/src/VuFindSearch/Response/AbstractRecordCollection.php 20 additions, 3 deletions...ch/src/VuFindSearch/Response/AbstractRecordCollection.php
- module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/RecordCollectionTest.php 24 additions, 0 deletions...dTest/Backend/Solr/Response/Json/RecordCollectionTest.php
Please register or sign in to comment