Skip to content

Commit

Permalink
add: meilisearch
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTheDev committed Apr 3, 2024
1 parent 3187616 commit 859cd50
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
22 changes: 10 additions & 12 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gamewide/search/track.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async def main():
finished = False
while not finished:
try:
await index.add_documents_in_batches(documents=docs_to_insert, batch_size=5000, primary_key="id", compress=True)
await index.add_documents_in_batches(documents=docs_to_insert, batch_size=50_000, primary_key="id", compress=True)
finished = True
except Exception:
logger.info("trying to add again")
Expand Down

0 comments on commit 859cd50

Please sign in to comment.