name: Help Wanted
about: Request community help on a specific task or feature
title: "[HELP WANTED] Bug: Qdrant semantic search fails due to missing index for "type" field"
labels: 'help wanted', 'bug'
assignees: ''
What We Need Help With
We need help resolving an issue where semantic search fails on cloud-hosted Qdrant instances due to a missing index for the "type" payload field. Although vector points are successfully created, search operations result in a 400 Bad Request error.
Background & Context
When using Intugle's semantic search feature with a cloud-hosted Qdrant instance, the system successfully uploads vector points. However, subsequent semantic search queries fail with a Bad Request error, indicating that a keyword index is required but not found for the "type" field in the Qdrant collection. This suggests that the Qdrant collection is not being initialized with the necessary payload index for the "type" field, which is critical for filtering during search operations.
Current State
Vector points are successfully created in the cloud-hosted Qdrant collection. However, attempting to perform a semantic search results in the following error:
ERROR:intugle.core.semantic_search.semantic_search:Unexpected Response: 400 (Bad Request)
Raw response content:
b'{"status":{"error":"Bad request: Index required but not found for \"type\" of one of the following types: [keyword]. Help: Create an index for this key or use a different filter."}}"time":0.000026182}'
ERROR:intugle.core.semantic_search.semantic_search:[] Error while performing dense search
Reason: Unexpected Response: 400 (Bad Request)
Raw response content:
b'{"status":{"error":"Bad request: Index required but not found for \"type\" of one of the following types: [keyword]. Help: Create an index for this key or use a different filter."}}"time":0.000026182}'
ERROR:intugle.core.semantic_search.semantic_search:[] Error while performing late search
Reason: Unexpected Response: 400 (Bad Request)
Desired Outcome
Semantic search should function correctly with cloud-hosted Qdrant instances. This requires ensuring that the Qdrant collection is created with the necessary keyword index for the "type" payload field, allowing search queries to execute without Bad Request errors.
Scope of Work
Technical Details
Relevant Files/Modules
src/intugle/semantic_search/semantic_search.py (This is the primary file for Qdrant client interaction and collection management.)
Key Concepts/Technologies
- Qdrant: Understanding collection creation, payload indexing, and filtering operations.
- Vector Databases: Familiarity with how data is stored and indexed for semantic search.
- Python
qdrant-client library: How to interact with Qdrant from Python.
Skills Needed
Getting Started
- Fork the repository.
- Set up your development environment (see CONTRIBUTING.md).
- Configure Intugle to use a cloud-hosted Qdrant instance (ensure
QDRANT_URL and QDRANT_API_KEY are set correctly in your environment).
- Reproduce the error by running a semantic search operation.
- Implement the fix in
src/intugle/semantic_search/semantic_search.py.
Testing Requirements
Questions & Support
- Ask questions in the comments below
- Join our Discord for real-time help
We appreciate your interest in contributing to Intugle! 🙏
name: Help Wanted
about: Request community help on a specific task or feature
title: "[HELP WANTED] Bug: Qdrant semantic search fails due to missing index for "type" field"
labels: 'help wanted', 'bug'
assignees: ''
What We Need Help With
We need help resolving an issue where semantic search fails on cloud-hosted Qdrant instances due to a missing index for the "type" payload field. Although vector points are successfully created, search operations result in a 400 Bad Request error.
Background & Context
When using Intugle's semantic search feature with a cloud-hosted Qdrant instance, the system successfully uploads vector points. However, subsequent semantic search queries fail with a
Bad Requesterror, indicating that akeywordindex is required but not found for the "type" field in the Qdrant collection. This suggests that the Qdrant collection is not being initialized with the necessary payload index for the "type" field, which is critical for filtering during search operations.Current State
Vector points are successfully created in the cloud-hosted Qdrant collection. However, attempting to perform a semantic search results in the following error:
Desired Outcome
Semantic search should function correctly with cloud-hosted Qdrant instances. This requires ensuring that the Qdrant collection is created with the necessary
keywordindex for the "type" payload field, allowing search queries to execute withoutBad Requesterrors.Scope of Work
keywordindex is created for the "type" payload field when the Qdrant collection is initialized or updated.Technical Details
Relevant Files/Modules
src/intugle/semantic_search/semantic_search.py(This is the primary file for Qdrant client interaction and collection management.)Key Concepts/Technologies
qdrant-clientlibrary: How to interact with Qdrant from Python.Skills Needed
Getting Started
QDRANT_URLandQDRANT_API_KEYare set correctly in your environment).src/intugle/semantic_search/semantic_search.py.Testing Requirements
Questions & Support
We appreciate your interest in contributing to Intugle! 🙏