Source API fix
1 unresolved thread
1 unresolved thread
Source API failed to function as required. The current MR changes the SOLR Query building process to reuse the search query to find the correct item by id. It also fixes the case of failure when no record is found in SOLR for a given id
Closes #128
Edited by Fiona D'Mello
Merge request reports
Activity
added API Bug Under Review labels
assigned to @f.dmello
11 10 } 12 11 try { 13 const params = new URLSearchParams({ 14 q: "*:*", 15 fq: `+id:"${id}"`, 16 rows: "1", 17 }); 12 const solrResponse: SolrResponseType = await new SolrQuery( 13 0, 14 1, 15 [], 16 [], 17 undefined, 18 undefined, 19 `id:${id}` 20 ).json();
Please register or sign in to reply