owncloud-archive / search_lucene

The ownCloud search_lucene app
GNU Affero General Public License v3.0
18 stars 17 forks source link

index delete job is not multi user compliant #49

Closed DeepDiver1975 closed 8 years ago

DeepDiver1975 commented 9 years ago

what happens:

  1. index for the logged-in user is created
  2. all deleted files are queries from the db without the user being involved
  3. index is cleanup for the given user
  4. BUT NOT for other users

@butonic let's chat about this as well

butonic commented 9 years ago

The job has to be user specific so we can delete the file from the right index. Looking at the code there is bug #70. The delete job fetches all deleted fileids (from all users) and tries to delete them from a single users index. Next time the job is run for a different user. No deleted files will be found and the index will not get cleaned up.

Will get fixed by https://github.com/owncloud/search_lucene/issues/10

ghost commented 8 years ago

I’m closing this issue because it has been inactive for a few months. This probably means that it is not reproducible or it has been fixed in a newer version. If it’s an enhancement and hasn’t been taken on for so long, then it seems no one has the time to implement this.

Please reopen if you still encounter this issue with the latest stable version and then please use the issue template. You can also contribute directly by providing a patch – see the developer manual. :)

Thank you!