How qdrant/qdrant_demo works
Startup Hybrid Search is a web demo for searching startup profiles with semantic, keyword, or hybrid retrieval. Users enter a query in the frontend, choose a retrieval mode, and receive ranked company records; the backend serves search and collection statistics from Qdrant. Separate loaders build collections from the startups and Crunchbase datasets. The graph preserves the documented retrieval modes and UI/API layers. Some frontend wiring and loader internals were not excerpted, so those relationships are included only where supported by the README or source index.
Main entry points: service.py FastAPI service · neural_searcher.py Semantic and hybrid search · text_searcher.py Keyword search · search.ts Search API client
Components 20
Search interface
- React app
frontend/src/App.tsx - Home page
frontend/src/pages/Home/index.tsx - Search workspace
frontend/src/components/MainSection/index.tsx - Demo search
frontend/src/components/DemoSearch/index.tsx - Startup results
frontend/src/components/StartupCard/index.tsx - Custom header
frontend/src/components/CustomHeader/index.tsx - Brand logo
frontend/src/components/Logo/index.tsx
Frontend API
- Search state hook
frontend/src/hooks/useGetSearchResult.ts - Search API client
frontend/src/api/search.ts - HTTP client
frontend/src/api/axios.ts
Search service
- FastAPI service
qdrant_demo/service.py - Semantic and hybrid search
qdrant_demo/neural_searcher.py - Keyword search
qdrant_demo/text_searcher.py - Runtime configuration
qdrant_demo/config.py
Collection ingestion
- Startup collection loader
qdrant_demo/init_collection_startups.py - Crunchbase loader
qdrant_demo/init_collection_crunchbase.py
Other components
- Search user
- Qdrant collection
- Dense embedding model
- BM25 model
Connections 21
- Search user → React app: uses
README.md - React app → Home page: renders
frontend/src/App.tsx - Search workspace → Demo search: renders
frontend/src/components/MainSection/index.tsx - Search workspace → Startup results: renders
frontend/src/components/MainSection/index.tsx - Custom header → Brand logo: renders
frontend/src/components/CustomHeader/index.tsx - Search state hook → Search API client: requests
frontend/src/hooks/useGetSearchResult.ts - Search API client → HTTP client: uses
frontend/src/api/search.ts - Search API client → FastAPI service: calls search endpoint
README.md - FastAPI service → Semantic and hybrid search: dispatches semantic or hybrid
qdrant_demo/service.py - FastAPI service → Keyword search: dispatches keyword
qdrant_demo/service.py - FastAPI service → Qdrant collection: counts collection
qdrant_demo/service.py - Semantic and hybrid search → Qdrant collection: queries vectors
qdrant_demo/neural_searcher.py - Keyword search → Qdrant collection: queries sparse vector
qdrant_demo/text_searcher.py - Semantic and hybrid search → Dense embedding model: embeds queries
README.md - Semantic and hybrid search → BM25 model: embeds hybrid queries
README.md - Keyword search → BM25 model: embeds queries
README.md - FastAPI service → Runtime configuration: reads settings
qdrant_demo/service.py - Semantic and hybrid search → Runtime configuration: reads settings
qdrant_demo/neural_searcher.py - Keyword search → Runtime configuration: reads settings
qdrant_demo/text_searcher.py - Startup collection loader → Qdrant collection: builds and loads
README.md - Crunchbase loader → Qdrant collection: builds and loads
README.md