update
This commit is contained in:
parent
53cfd0a757
commit
cb0e4e9759
1 changed files with 53 additions and 54 deletions
|
|
@ -1015,7 +1015,7 @@ async def episode_fulltext_search(
|
||||||
res = await driver.aoss_client.search(
|
res = await driver.aoss_client.search(
|
||||||
index=EPISODE_INDEX_NAME,
|
index=EPISODE_INDEX_NAME,
|
||||||
params={'routing': route},
|
params={'routing': route},
|
||||||
query={
|
body={
|
||||||
'size': limit,
|
'size': limit,
|
||||||
'_source': ['uuid'],
|
'_source': ['uuid'],
|
||||||
'bool': {
|
'bool': {
|
||||||
|
|
@ -1031,7 +1031,6 @@ async def episode_fulltext_search(
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
limit=limit,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if res['hits']['total']['value'] > 0:
|
if res['hits']['total']['value'] > 0:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue