Error indexing codebase Codebase chat is falling back to BM25, which is slower and less accurate than embeddings

How to solve this error?
By the way, I also want to disable global context. Most of the time, I am asking Cursor just simple questions, without any necessity to seach for the whole codebase. I do check the ‘disable globally’ checkbox in the bottom right corner, but it doesn’t work.