You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Query arguments are not forwarded from assets:search to document:search. As it is, we cannot for example use the parameter lang to use Koncorde DSL in our search requests.
asyncsearch(request: KuzzleRequest){constengineId=request.getString('engineId');const{ searchBody }=request.getSearchParams();constcategory=this.getFieldPath(request,'category',null,'asset-category');constres=awaitthis.sdk.document.search<BaseAssetContent>(engineId,this.collection,searchBody);// Should be forwarded here using request objectfor(consthitofres.hits){constdocument=awaitthis.esDocumentToFormatted<BaseAssetContent>(engineId,this.collection,hit,[category]);this.assetCategoryService.formatDocumentMetadata(document);}returnres;}
The text was updated successfully, but these errors were encountered:
Query arguments are not forwarded from
assets:search
todocument:search
. As it is, we cannot for example use the parameterlang
to use Koncorde DSL in our search requests.The text was updated successfully, but these errors were encountered: