ublo-lib 1.36.17 → 1.36.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,14 +22,14 @@ const searchParams = (facet, groupLimit = 40, queryBy = QUERY_ITEMS.join(","), q
|
|
|
22
22
|
per_page: 50,
|
|
23
23
|
});
|
|
24
24
|
export function fetchResults(site, lang, query, facet, groupLimit = 40, queryBy = QUERY_ITEMS.join(","), queryByWeights, semantic) {
|
|
25
|
-
const endpoint = `${api}/ublo-search/search/lbm${semantic ? "/semantic" : ""}`;
|
|
25
|
+
const endpoint = `${api}/api/ublo-search/search/lbm${semantic ? "/semantic" : ""}`;
|
|
26
26
|
return Fetcher.post(endpoint, {
|
|
27
27
|
q: query,
|
|
28
28
|
...searchParams(facet, groupLimit, queryBy, queryByWeights, semantic),
|
|
29
29
|
}, { site, lang }, undefined, undefined);
|
|
30
30
|
}
|
|
31
31
|
export function fetchEvaluation(site, lang, facet, groupLimit = 40, queryBy = QUERY_ITEMS.join(","), queryByWeights, semantic) {
|
|
32
|
-
const endpoint = `${api}/ublo-search/evaluation/lbm`;
|
|
32
|
+
const endpoint = `${api}/api/ublo-search/evaluation/lbm`;
|
|
33
33
|
return Fetcher.post(endpoint, {
|
|
34
34
|
q: "",
|
|
35
35
|
...searchParams(facet, groupLimit, queryBy, queryByWeights, semantic),
|