SCIENCE
The science behind XERJ
These pages explain the technical terms XERJ uses in its products, in plain language. Each entry is a short definition, then how the idea works, how XERJ uses it, and the research it rests on. When a how-to already lives under Answers, that page stays the practical guide; the science page is the concept.
Retrieval
What is hybrid search?Hybrid search runs BM25 and vector search on one query and fuses the lists with RRF. See how it works, measured BEIR results, and run it on your own files.
Hybrid search vs vector search vs semantic searchHybrid search runs BM25 and vector search on one query and fuses the lists. See when vector or semantic search is enough, with measured BEIR numbers.
Reciprocal rank fusion formulaRRF score = sum of 1 / (k + rank) over every list a document is in, with k = 60. Try the calculator, copy the code, see measured hybrid RRF results.
BM25 vs vector searchBM25 vs vector search: BM25 ranks by query terms, how rare they are, and document length. A vector query ranks by meaning, so a paraphrase can still match.
What is semantic search?Semantic search ranks passages by meaning, usually as vectors, so a paraphrase can match even when it shares few words with the query.
What is agentic search?An AI agent calls search tools in a loop, reads the results, and decides what to search next.
What is reranking?Reranking is a second stage after retrieval: a slower model reorders a short candidate list, and does not walk the whole index again.
AI hardware
AMD GPU optimization guideProfile, read the hardware numbers, write MFMA kernels and tune vLLM and PyTorch on MI300X, MI325X and MI355X, with a roofline calculator.
AMD MFMA instructionsMFMA shapes, cycles and FLOPs on CDNA3 and CDNA4, HIP intrinsics, compiled ISA and an occupancy calculator.
Models and checking
What is neurosymbolic AI?AI that combines neural networks, which learn patterns, with symbolic reasoning, which follows rules and logic, so answers can be computed and checked against facts.
Neurosymbolic AI vs LLMAn LLM writes the answer in its own text. Neurosymbolic AI also runs a program or solver and checks the result against facts.
Neurosymbolic AI examplesReal systems where a neural model proposes and a symbolic engine proves, solves or checks, such as AlphaGeometry and Logic-LM.
What are neurosymbolic models?A neurosymbolic model pairs a neural part that proposes a program or formula with a symbolic part that runs it and checks the result against facts.
What are grounded answers?A grounded AI answer traces every claim to a source you can open, and says Not Found when the documents are silent. How it works and how to check it.
What is extractive answering?Extractive answering takes the answer from the words of the document, as a quoted span or a value computed from spans, instead of writing new text.
Agents
Reference coding for AI coding agentsIn AI coding, reference coding is how an agent looks up an API it does not already know: it indexes libraries and reads a cited passage before it writes.
What is context engineering?Context engineering is choosing what an agent actually reads: a short, cited passage instead of a whole file, so the context window is spent on the task.
What is agentic memory?Agentic memory is memory an agent writes and reads itself through tools, so a fact can survive past one chat, not only through automatic hooks.
What is the Model Context Protocol?The Model Context Protocol, or MCP, is an open protocol that lets a host such as Claude Code or Cursor call tools on a node, including XERJ search.
Code and corpora
What is syntax-aware search?Syntax-aware search indexes declared symbols from a parser, so you can look up a definition by kind, name and line, not only by matching raw text.
What is Corpus Hub?Corpus Hub is XERJ's registry of signed, licence-reviewed index packs. An agent can ask a public corpus with file:line citations, without cloning the tree.