suchnsuch / Tangent

The publicly-available modules of the Tangent project.
141 stars 8 forks source link

Queries are not reliably returning results. #93

Closed taylorhadden closed 1 month ago

taylorhadden commented 2 months ago

Users are reporting that queries are not reliable. For some, certain types of queries appear to do nothing. For others, queries are only returning files that were recently edited.

The former problem comes from a user with a very large workspace. It may well be that the query is just taking a long time to do the requisite matching on the contents of all files.

The latter is very likely to be an issue where index initialization has failed, resulting in an empty index that can't find anything.

taylorhadden commented 2 months ago

The root cause for at least one user was an older version failing to parse the cached index generated by a newer version.

The root cause for another user was that virtual note creation was moving virtual notes around and sometimes causing collisions with virtual folders.