cognee/cognee/infrastructure
Igor Ilic 6e69daa527
Remove payload vector search [COG-3708] (#1998)
<!-- .github/pull_request_template.md -->

## Description
Make payload information optional when searching vector databases to
optimize performance

## Type of Change
<!-- Please check the relevant option -->
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Other (please specify):

## Screenshots/Videos (if applicable)
<!-- Add screenshots or videos to help explain your changes -->

## Pre-submission Checklist
<!-- Please check all boxes that apply before submitting your PR -->
- [ ] **I have tested my changes thoroughly before submitting this PR**
- [ ] **This PR contains minimal changes necessary to address the
issue/feature**
- [ ] My code follows the project's coding standards and style
guidelines
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have added necessary documentation (if applicable)
- [ ] All new and existing tests pass
- [ ] I have searched existing PRs to ensure this change hasn't been
submitted already
- [ ] I have linked any relevant issues in the description
- [ ] My commits have clear and descriptive messages

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

# Release Notes

* **New Features**
* Added optional `include_payload` parameter to search operations across
all vector database implementations. When enabled, search results
include complete payload data; disabled by default for improved
performance.

* **Improvements**
* Enhanced result efficiency by making payload optional in search
results.
* Standardized edge identifier generation for consistent graph
operations.
* Optimized data lookups to use direct IDs instead of payload
extraction.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-01-20 10:25:08 +01:00
..
context
data
databases Remove payload vector search [COG-3708] (#1998) 2026-01-20 10:25:08 +01:00
engine feat: optimize repeated entity extraction (#1682) 2025-10-30 13:56:06 +01:00
entities
files Merge branch 'dev' into feature/bedrock-llm-provider 2025-11-24 16:48:45 +01:00
llm fix: Remove Jon Doe enitity reference due to hallucination issues (#1939) 2026-01-10 08:49:23 +01:00
loaders Merge branch 'dev' into feat/csv-ingestion 2025-11-14 14:46:11 +08:00
utils
__init__.py