~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: Remove Pass 3 heuristic keyword search
LearningCircuit8bdaa4833c16
diff --git a/src/local_deep_research/web_search_engines/engines/search_engine_paperless.py b/src/local_deep_research/web_search_engines/engines/search_engine_paperless.pyindex 3d259bbe97..9bb8210856 100644--- a/src/local_deep_research/web_search_engines/engines/search_engine_paperless.py+++ b/src/local_deep_research/web_search_engines/engines/search_engine_paperless.py@@ -294,54 +294,6 @@ IMPORTANT: Output ONLY the search query. No explanations, no additional text."""else:logger.info("Pass 2 skipped - no LLM available")- # Pass 3: Extract key terms for a focused search- key_terms = [- term- for term in query.split()- if len(term) > 3- and term.lower()- not in [- "what",- "where",- "when",- "how",- "why",- "does",- "will",- "can",- ]- ]-- if key_terms and len(key_terms) <= 3:- focused_query = " AND ".join(key_terms)- params["query"] = focused_query- params["page_size"] = self.max_results-- logger.info(- f"Pass 3 - Focused query with AND: '{focused_query}' (key_terms={key_terms})"- )- response = self._make_request("/api/documents/", params=params)-- if response and "results" in response:- pass3_new = 0- for doc in response["results"]:- doc_id = doc.get("id")- if doc_id and doc_id not in all_results:- all_results[doc_id] = doc- pass3_new += 1- logger.debug(- f"Pass 3 added new doc {doc_id}: {doc.get('title', 'No title')}"- )- logger.info(- f"Pass 3 found {len(response['results'])} docs, added {pass3_new} new"- )- else:- logger.warning("Pass 3 returned no results")- else:- logger.info(- f"Pass 3 skipped - key_terms={key_terms}, count={len(key_terms) if key_terms else 0}"- )-# Sort by relevance score if availablelogger.info(f"Total unique documents collected: {len(all_results)}")sorted_results = sorted(