mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-08-03 21:52:29 +02:00
Revert "More efficient Vespa indexing (#3552)"
This reverts commit 2783216781
.
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user