mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-07-13 23:41:46 +08:00
fix: bug that does not accept original query
This commit is contained in:
parent
eb9109c389
commit
3e7dd8c65a
@ -506,7 +506,7 @@ export class SearcherHost extends RPCHost {
|
|||||||
// Extract results based on variant
|
// Extract results based on variant
|
||||||
let tryTimes = 1;
|
let tryTimes = 1;
|
||||||
const results = await this.doSearch(params, noCache);
|
const results = await this.doSearch(params, noCache);
|
||||||
if (results.length && !useFallback) {
|
if (results.length || !useFallback) {
|
||||||
return { results, query: params.q, tryTimes };
|
return { results, query: params.q, tryTimes };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user