Revert "More efficient Vespa indexing (#3552)"

This reverts commit 2783216781.
This commit is contained in:
Richard Kuo
2024-12-31 09:40:23 -08:00
parent 9b65c23a7e
commit 3eb72e5c1d
13 changed files with 50 additions and 180 deletions

View File

@@ -86,7 +86,6 @@ def _create_indexable_chunks(
access=default_public_access,
document_sets=set(),
boost=DEFAULT_BOOST,
current_index_time=datetime.datetime.now(datetime.timezone.utc),
)
chunks.append(chunk)
@@ -218,7 +217,7 @@ def seed_initial_documents(
# as we just sent over the Vespa schema and there is a slight delay
index_with_retries = retry_builder(tries=15)(document_index.index)
index_with_retries(chunks=chunks)
index_with_retries(chunks=chunks, fresh_index=cohere_enabled)
# Mock a run for the UI even though it did not actually call out to anything
mock_successful_index_attempt(