Why a reranker can’t find the missing passage in local document search
Before switching rerankers, find out where the right passage disappeared. Check the list returned by the first search, the excerpts sent to the answer model, and the original document. A highly ranked draft is still a draft.
Check whether search missed the passage or just buried it
Start with a question you can answer by opening the original document. In a workflow that searches before it answers, the first search selects passages from your index. A reranker then scores each of those candidates against your question. It can move a buried passage up, but it cannot pull an absent passage into the list. If your app only shows the sources cited in the answer, you don’t yet know what the first search found.
Follow a fictional bulletin through all three stages
Suppose you ask, “Where do Friday workshop visitors collect their kits?” The signed bulletin, WK-04, §2, says “Friday kits are at the east desk.” A draft, WK-03, says “west desk.” The archive also has a Thursday collection notice. In the first search, look for the east-desk sentence, not just the bulletin’s title. If only the draft and Thursday notice come back, check that the approved bulletin is indexed, the section was extracted, and a filter isn’t excluding it. Try the exact bulletin ID in the local search. Don’t change the reranker yet.
Compare what actually gets passed to the answer model
If the approved passage was found, keep the question and initial candidate list unchanged when comparing results with and without reranking. Record whether the exact sentence makes it into the excerpts sent to the answer model. If the complete sentence is already there but the reply still says “west,” check whether the draft went in too and whether the claimed source actually supports the reply. If you can, filter for the approved version before search using verified document labels. Otherwise open the bulletin and cite WK-04, §2. Don’t choose between drafts and approved sources by relevance score. Keep the limit on excerpts sent to the answer model the same, too.
Check what your app’s setting actually changes
For example, AnythingLLM’s documentation says its Search Preference setting “Accuracy Optimized” is currently for LanceDB, and searches more fragments before it reranks. If the answer improves after toggling that setting, the wider search may have found the missing sentence. You haven’t isolated reranking unless the starting lists were the same. If your app doesn’t show the original candidates, use the result as a symptom, not proof of which stage helped.
Choose the right model only after seeing the failure
cross-encoder/ms-marco-MiniLM-L6-v2 is documented for English passage ranking; the similarly named sentence-transformers/all-MiniLM-L6-v2 produces embeddings for tasks such as initial search. For multilingual ranking, Qwen/Qwen3-Reranker-0.6B and BAAI/bge-reranker-v2-m3 are publisher-documented candidates. The latter is not the embedding model BAAI/bge-m3. Check which model and format your app supports and try your own query/document languages on fictional samples first. If documents must stay local, verify where the index, embeddings, reranker and answer model each run before you use real documents.
Sources
- www.sbert.net · DocumentationPublisher · www.sbert.net↗
- Hugging Face · DocumentationPublisher · huggingface.co↗
- docs.anythingllm.com · DocumentationPublisher · docs.anythingllm.com↗
- Hugging Face · DocumentationPublisher · huggingface.co↗
- Hugging Face · DocumentationPublisher · huggingface.co↗
- Hugging Face · DocumentationPublisher · huggingface.co↗
- Hugging Face · DocumentationPublisher · huggingface.co↗
- Hugging Face · DocumentationPublisher · huggingface.co↗
- qdrant.tech · DocumentationPublisher · qdrant.tech↗