~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix: improve parallel search and relevance filter
LearningCircuit0666bdb2eabe
diff --git a/src/local_deep_research/web_search_engines/engines/parallel_search_engine.py b/src/local_deep_research/web_search_engines/engines/parallel_search_engine.pyindex 5359f6dad6..e395b7d714 100644--- a/src/local_deep_research/web_search_engines/engines/parallel_search_engine.py+++ b/src/local_deep_research/web_search_engines/engines/parallel_search_engine.py@@ -49,6 +49,14 @@ class ParallelSearchEngine(BaseSearchEngine):programmatic_mode: If True, disables database operations and metrics tracking**kwargs: Additional parameters (ignored but accepted for compatibility)"""+ # Override max_filtered_results to be much higher for parallel search+ # If not explicitly set, use 50 instead of the default 5-20+ if max_filtered_results is None:+ max_filtered_results = 50+ logger.info(+ f"Setting max_filtered_results to {max_filtered_results} for parallel search"+ )+super().__init__(llm=llm,max_filtered_results=max_filtered_results,@@ -64,7 +72,8 @@ class ParallelSearchEngine(BaseSearchEngine):self.search_mode = search_modeself.settings_snapshot = settings_snapshot- # Enable LLM relevance filtering at parallel level to filter combined results+ # Keep LLM relevance filtering but with a higher limit for parallel search+ # since we're aggregating from multiple enginesself.enable_llm_relevance_filter = kwargs.get("enable_llm_relevance_filter", True)diff --git a/src/local_deep_research/web_search_engines/search_engine_base.py b/src/local_deep_research/web_search_engines/search_engine_base.pyindex 4c77d66117..16b824f998 100644--- a/src/local_deep_research/web_search_engines/search_engine_base.py+++ b/src/local_deep_research/web_search_engines/search_engine_base.py@@ -506,7 +506,7 @@ Return a JSON array of indices (0-based) for results that are highly relevant toValid indices are 0 to {len(previews) - 1}.Only include results that directly help answer the specific question asked.Be selective - it's better to return fewer high-quality results than many mediocre ones.-Maximum results to return: {self.max_filtered_results or 10}+Maximum results to return: {self.max_filtered_results}Example response: [4, 0, 2, 7]Respond with ONLY the JSON array, no other text."""