Skip to content

Add document upsert support to inverted index#7

Open
yakomisar wants to merge 1 commit intowizenheimer:mainfrom
yakomisar:feature/upsert-support
Open

Add document upsert support to inverted index#7
yakomisar wants to merge 1 commit intowizenheimer:mainfrom
yakomisar:feature/upsert-support

Conversation

@yakomisar
Copy link
Copy Markdown

Changes:

  • added an upsert operation for document indexing
  • added internal document removal logic for indexed data cleanup
  • removed document-specific postings from skip lists and roaring bitmaps
  • updated BM25-related statistics during document replacement

As a result, an existing document can now be safely re-indexed by document ID without leaving stale postings or inconsistent corpus statistics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant