Algorithms Overview
HyperSearchX implements 17 novel algorithms that don't exist in any other search tool. Each algorithm is purpose-built to solve a specific aspect of the intelligent search pipeline.
HyperFusion
RankingCombines BM25 keyword relevance, semantic similarity, temporal freshness, domain authority, evidence strength, diversity penalty, content depth, and source consensus into a single 0–1 score.
CEP
ExtractionCSS selectors → Readability → Headless JS → PDF extraction → Screenshot OCR. Each layer is tried in order, falling back gracefully to handle any web content.
QATBE
TokensBM25-scored segment ranking combined with a greedy knapsack algorithm to pack maximum relevance within a token budget. Powers all detail tiers.
SCS
ExtractionClassifies content into 8 typed segments: heading, paragraph, code, list, table, quote, metadata, other. Each type has a different token efficiency weight.
ABS
SearchAnalyzes query intent, complexity, and freshness requirements to automatically select the optimal combination of search backends for each request.
AMRS
ResearchSpawns parallel Tokio agents (planner, searcher, extractor, synthesizer) to process complex research queries with inter-agent coordination via async channels.
PIE
IntelligenceCross-session learning via SQLite. Tracks source trust scores, failure patterns, and query prediction to improve results over time.
QFD
CacheSimHash-based fingerprinting identifies semantically equivalent queries and routes to cached results, reducing redundant backend calls.
Algorithm pipeline
Algorithms execute in a defined pipeline order for each request type: