2nd query not working in 3.3/3.4/3.5 chat mode

I was able to get this working. This is the same problem that was intorduced in 2.5.x and has continued since.

Indexing is the issue. Till 2.4.x indexing large repositories was working fine (65k files). Post that everything broke. Here is the link to the old issue - [Cursor 2.5/2.6] Taking longer than expected - #6 by Ashutosh1

Cursor says they support indexing upto 250k files which is not accurate as for me it fails on 65k files.
Instead indexing on number of files you should do it on total number of lines or total characters in all the repository.

Solution:
Open directories that you only want to use. After you open the first folder, go to file —> Add folder to workspace.
You should see your index reduced. In my case it reduced from 65k files to 5k files. Finally, the 2nd query was working.

Cons:
If you have to work with different folders all the time, this can be frustrating.

Comment for the product team:

  • Please have a stable release for cusor, you can still maintain latest releases as well.
  • If you want to support large codebases, what you say on your IDE indexing settings 250k files, then look into this issue seriously.

Question to ask:

  • How was this working the first time? Always fails the 2nd time.