Troubleshooting¶
OpenAI key is missing¶
Default embeddings use OpenAI. Set a key or switch providers.
Or use local ONNX embeddings:
Milvus Lite is locked¶
Milvus Lite is file-backed and works best with a single writer. If a watcher or worker is writing, read commands may briefly report that the index is locked. Wait a moment and retry.
For heavier concurrent use, configure self-hosted Milvus or Zilliz Cloud.
Search returns no results¶
Check these first:
Common causes:
- the background worker has not finished yet
- the searched path was not indexed
- the file extension is not embedded by default
- the query is too literal or too vague for the selected mode
Try --mode hybrid, then verify with mfs grep and mfs tree --peek.
PDF or DOCX conversion fails¶
The base project includes pymupdf4llm and python-docx. If your environment
was created before those dependencies were added, refresh it:
Then retry:
mfs grep behaves differently from system grep¶
MFS grep combines indexed search and system grep fallback. It always shows line
numbers in the output gutter. The -n option is kept for compatibility and may
emit a warning.
Use system grep directly when you need exact GNU grep behavior.