
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
n8n-nodes-query-retriever-rerank
Advanced tools
Advanced n8n community node for intelligent document retrieval with multi-step reasoning, reranking, and comprehensive debugging
An advanced n8n community node for intelligent document retrieval and question answering with multiple query strategies, reranking, and comprehensive debugging.
npm install n8n-nodes-query-retriever-rerank
Direct retrieval with intelligent reranking
Enhanced retrieval with query variations
Progressive reasoning with context accumulation
Document retrieval without answer generation
Connect a memory node to store comprehensive debug data:
{
"strategy": "multi_step_query",
"timing": {
"step_1": "17626ms",
"step_2": "37228ms",
"finalSynthesis": "15219ms",
"total": "70074ms"
},
"queryDetails": {
"original": "your question",
"stoppedEarly": true,
"stoppedAtStep": 2
},
"stepResults": [
{
"step": 1,
"subQuery": "generated sub-question",
"documentsRetrieved": 5,
"stepAnswer": "intermediate answer..."
}
]
}
| Use Case | Recommended Strategy | Why |
|---|---|---|
| Simple facts | Simple Query | Direct and efficient |
| Complex topics | Multi-Query | Multiple perspectives |
| Analytical research | Multi-Step Query | Progressive reasoning |
| Document discovery | None | Just the documents |
Modular Strategy System:
QueryRetrieverRerank/
├── strategies/ # Individual query strategies
│ ├── SimpleQueryStrategy.ts
│ ├── MultiQueryStrategy.ts
│ ├── MultiStepQueryStrategy.ts ⭐ NEW
│ └── NoneStrategy.ts
├── shared/ # Reusable utilities
│ ├── debugging.ts # Debug data management
│ ├── reranking.ts # Document reranking logic
│ └── types.ts # Shared interfaces
└── QueryRetrieverRerank.node.ts # Clean orchestration
Intelligent Optimizations:
Adding New Strategies:
strategies/BaseStrategy classstrategies/index.tsMIT
Built with a modular architecture for maximum extensibility and maintainability. The multi-step reasoning capability brings sophisticated analytical processing to n8n workflows.
FAQs
Advanced n8n community node for intelligent document retrieval with multi-step reasoning, reranking, and comprehensive debugging
The npm package n8n-nodes-query-retriever-rerank receives a total of 102 weekly downloads. As such, n8n-nodes-query-retriever-rerank popularity was classified as not popular.
We found that n8n-nodes-query-retriever-rerank demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.