-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fulltextsearch:index always scans all files even if index is already available #767
Comments
similar issue might be #723 |
@jensgoe can you add some steps how to reproduce? Maybe also how you did reset your index. |
It was quite easy to reproduce it:
expected: skip already indexed files i fixed it locally for me by modifying file ./apps/fulltextsearch/lib/Model/Index.php.
sorry for the bad diff. The last days some commits already changed that. It might be fixed with commit 0021dc7 |
tested with 27.0.2 and it worked. Thanks. Closing this issue |
I spent some time to debug this issue. The problem must something have to do with the changes for "default collection is local".
The database rows in table "oc_fulltextsearch_index" are stored with an empty string for the collection column. The function getIndex() in "lib/Db/IndexesRequest.php" is filtering with value "local" for the collection column. Thats why the check, if a file is already in the index always fails.
The text was updated successfully, but these errors were encountered: