validated indexing swap

This commit is contained in:
pablodanswer 2024-09-27 12:58:07 -07:00
parent ee831b73e4
commit c9a84d5084

View File

@ -181,7 +181,6 @@ def _index_vespa_chunk(
vespa_document_fields[TENANT_ID] = chunk.tenant_id
vespa_url = f"{DOCUMENT_ID_ENDPOINT.format(index_name=index_name)}/{vespa_chunk_id}"
logger.debug(f'Indexing to URL "{vespa_url}" with TENANT ID "{chunk.tenant_id}"')
res = http_client.post(
vespa_url, headers=json_header, json={"fields": vespa_document_fields}
)