The search delay issue is still present. Metarecord searches that show the delay consistently show a lack of format icon and no record id in the title link for the first or second hit.
An example of a timelog for a metarecord search for "apple juice" is:
At 7.4020: Returned from get_records_and_facets()
At 7.8243: Firing off the second multiclass query
At 7.8249: Gathering meta_results
At 8.6264: Returned from gathering meta_results
At 8.6264: Returned from the second multiclass query
At 8.6268: Firing off the second multiclass query
At 8.6275: Gathering meta_results
At 79.6177: Returned from gathering meta_results
At 79.6178: Returned from the second multiclass query
At 79.6182: Firing off the second multiclass query
At 79.6191: Gathering meta_results
At 80.4367: Returned from gathering meta_results
At 80.4367: Returned from the second multiclass query
The timelog gap corresponds to these lines in OpenILS/WWW/EGCatloader/Search.pm
$self->timelog("Gathering meta_results"); $meta_results = $req->gather(1); $self->timelog("Returned from gathering meta_results"); $self->timelog("Returned from the second multiclass query");
Also attaching a screenshot of the search results screen showing the missing info
For comparison, here are some grepped log entries from the first gather, which was successful (metarecord id 2759947, source id 2598144):
Here are all the log entries where metarecord id 2759947 appears:
Evergreen 2.12.4
opensrf 5.1
The search delay issue is still present. Metarecord searches that show the delay consistently show a lack of format icon and no record id in the title link for the first or second hit.
An example of a timelog for a metarecord search for "apple juice" is:
At 7.4020: Returned from get_records_ and_facets( )
At 7.8243: Firing off the second multiclass query
At 7.8249: Gathering meta_results
At 8.6264: Returned from gathering meta_results
At 8.6264: Returned from the second multiclass query
At 8.6268: Firing off the second multiclass query
At 8.6275: Gathering meta_results
At 79.6177: Returned from gathering meta_results
At 79.6178: Returned from the second multiclass query
At 79.6182: Firing off the second multiclass query
At 79.6191: Gathering meta_results
At 80.4367: Returned from gathering meta_results
At 80.4367: Returned from the second multiclass query
The timelog gap corresponds to these lines in OpenILS/ WWW/EGCatloader /Search. pm
Also attaching a screenshot of the search results screen showing the missing info
For comparison, here are some grepped log entries from the first gather, which was successful (metarecord id 2759947, source id 2598144):
Here are all the log entries where metarecord id 2759947 appears:
[2017-09-12 12:53:44] open-ils.search [INFO:6649: CStoreEditor. pm:139: 150522299736983 31] editor[0|0] request en-US open-ils. cstore. json_query {"from" :["search. facets_ for_metarecord_ set","{ }","{2759947, 2387987, 2794176, 2987877, 3418043, 2112438, 2105728, 2109922} "]} osrf_applicatio n.c:1075: 150522299736983 31] CALL: open-ils.cstore open-ils. cstore. json_query {"from" :["search. facets_ for_metarecord_ set","{ }","{2759947, 2387987, 2794176, 2987877, 3418043, 2112438, 2105728, 2109922} "]} osrf_applicatio n.c:1075: 150522299736983 32] CALL: open-ils.cstore open-ils. cstore. json_query {"from" :["unapi. mmr","2759947" ,"marcxml" ,"record" ,"{holdings_ xml,mra, acp,acnp, acns,bmp, cbs,mmr. unapi}" ,"SAL", "2","acn= >5,acp= >5,bre= >5",null, null,"63" ]} Application. pm:159: 150522299736983 48] CALL: open-ils.storage open-ils. storage. biblio. multiclass. staged. search_ fts.atomic estimation_ strategy, inclusion, skip_check, 0, query, apple juice site(SAL) depth(2), from_metarecord, 2759947, core_limit, 10000, return_query, 1, limit, 1000, check_limit, 1000, offset, 0 Biblio. pm:1349: 150522299736983 48] Completed canonicalized search is: from_metarecord (2759947) core_limit(10000) limit(1000) badge_orgs(1,62,63) estimation_ strategy( inclusion) site(SAL) depth(2) #CD_documentLength #CD_meanHarmonic #CD_uniqueWords (keyword: apple juice)
open-ils.cstore 2017-09-12 12:53:44 [INFO:5427:
open-ils.cstore 2017-09-12 12:53:44 [INFO:5429:
[2017-09-12 12:53:46] open-ils.storage [INFO:6490:
[2017-09-12 12:53:47] open-ils.search [INFO:6649:
and all the entries where source id 2598144 appears:
[2017-09-12 12:53:47] open-ils.search [INFO:6649: CStoreEditor. pm:139: ] editor[0|0] request en-US open-ils. cstore. json_query {"from" :["search. facets_ for_record_ set","{ }","{2598144} "]} osrf_applicatio n.c:1075: 150522299736983 48] CALL: open-ils.cstore open-ils. cstore. json_query {"from" :["search. facets_ for_record_ set","{ }","{2598144} "]} CStoreEditor. pm:139: 150522299736983 56] editor[0|0] request en-US open-ils. cstore. json_query. atomic {"from" :"mfr", "order_ by":[{" class": "mfr"," field": "id"}], "select" :{"mfr" :["tag" ,"value" ]},"where" :{"-or" :[{"-and" :[{"tag" :"020"} ,{"subfield" :"a"}]} ,{"-and" :[{"tag" :"022"} ,{"subfield" :"a"}]} ,{"-and" :[{"tag" :"024"} ,{"subfield" :"a"},{ "ind1": 1}]}]," record" :"2598144" }} osrf_applicatio n.c:1075: 150522299736983 57] CALL: open-ils.cstore open-ils. cstore. json_query. atomic {"from" :"mfr", "order_ by":[{" class": "mfr"," field": "id"}], "select" :{"mfr" :["tag" ,"value" ]},"where" :{"-or" :[{"-and" :[{"tag" :"020"} ,{"subfield" :"a"}]} ,{"-and" :[{"tag" :"022"} ,{"subfield" :"a"}]} ,{"-and" :[{"tag" :"024"} ,{"subfield" :"a"},{ "ind1": 1}]}]," record" :"2598144" }}
open-ils.cstore 2017-09-12 12:53:47 [INFO:6677:
[2017-09-12 12:55:04] /usr/sbin/apache2 [INFO:3698:
open-ils.cstore 2017-09-12 12:55:04 [INFO:6677:
Some grepped log entries for the failed gather (metarecord id 2387987, source id 3734245):
Here are all the log entries where metarecord id 2387987 appears:
[2017-09-12 12:53:44] open-ils.search [INFO:6649: CStoreEditor. pm:139: 150522299736983 31] editor[0|0] request en-US open-ils. cstore. json_query {"from" :["search. facets_ for_metarecord_ set","{ }","{2759947, 2387987, 2794176, 2987877, 3418043, 2112438, 2105728, 2109922} "]} osrf_applicatio n.c:1075: 150522299736983 31] CALL: open-ils.cstore open-ils. cstore. json_query {"from" :["search. facets_ for_metarecord_ set","{ }","{2759947, 2387987, 2794176, 2987877, 3418043, 2112438, 2105728, 2109922} "]} osrf_applicatio n.c:1075: 150522299736983 33] CALL: open-ils.cstore open-ils. cstore. json_query {"from" :["unapi. mmr","2387987" ,"marcxml" ,"record" ,"{holdings_ xml,mra, acp,acnp, acns,bmp, cbs,mmr. unapi}" ,"SAL", "2","acn= >5,acp= >5,bre= >5",null, null,"63" ]} Application. pm:159: 150522299736983 49] CALL: open-ils.storage open-ils. storage. biblio. multiclass. staged. search_ fts.atomic estimation_ strategy, inclusion, skip_check, 0, query, apple juice site(SAL) depth(2), from_metarecord, 2387987, core_limit, 10000, return_query, 1, limit, 1000, check_limit, 1000, offset, 0
open-ils.cstore 2017-09-12 12:53:44 [INFO:5427:
open-ils.cstore 2017-09-12 12:53:44 [INFO:5394:
[2017-09-12 12:53:47] open-ils.storage [INFO:6460:
and all the entries where source id 3734245appears:
[2017-09-12 12:55:04] /usr/sbin/apache2 [INFO:3697: CStoreEditor. pm:139: 150522299736971 72] editor[0|0] request en-US open-ils. cstore. json_query. atomic {"from" :"mfr", "order_ by":[{" class": "mfr"," field": "id"}], "select" :{"mfr" :["tag" ,"value" ]},"where" :{"-or" :[{"-and" :[{"tag" :"020"} ,{"subfield" :"a"}]} ,{"-and" :[{"tag" :"022"} ,{"subfield" :"a"}]} ,{"-and" :[{"tag" :"024"} ,{"subfield" :"a"},{ "ind1": 1}]}]," record" :"3734245" }} osrf_applicatio n.c:1075: 150522299736971 73] CALL: open-ils.cstore open-ils. cstore. json_query. atomic {"from" :"mfr", "order_ by":[{" class": "mfr"," field": "id"}], "select" :{"mfr" :["tag" ,"value" ]},"where" :{"-or" :[{"-and" :[{"tag" :"020"} ,{"subfield" :"a"}]} ,{"-and" :[{"tag" :"022"} ,{"subfield" :"a"}]} ,{"-and" :[{"tag" :"024"} ,{"subfield" :"a"},{ "ind1": 1}]}]," record" :"3734245" }}
open-ils.cstore 2017-09-12 12:55:04 [INFO:6678: