This commit is contained in:
prestonrasmussen 2025-09-14 01:40:31 -04:00
parent 53cfd0a757
commit cb0e4e9759

View file

@ -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: