Weighting logic, stopword filter, snippet extraction and BFS path finding in detail.
Tag matches ร3, title matches ร2, substring ร1/ร0.5. Relevance boost: critical +30%, high +20%. Stopwords (de+en) removed before searching.
Only activated when Quick Search finds fewer than --limit results. Counts word occurrences, capped at 5. Phrase bonus when query words appear adjacent.
With --with-relations, cm_search imports get_node_relations from cm_relate. Each result shows its incoming and outgoing edges. Max 5 relations per result.
find_path() builds an adjacency list and runs standard BFS. Special: also traverses reverse direction (marked with ~). Max depth: 6 hops.