-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
adding social profile to search index #22085
Conversation
required in order to optimize regular background updates of contact avatars from social networks (see nextcloud/contacts#1722 (comment))
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 31295: failureintegration-provisioning-v1
Show full log
|
Can we backport? 🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm this only works for new entries. Do we have a way to quickly trigger a reupdate of all entries?
no idea :/ |
This is what we did back then for CalDAV: https://github.com/nextcloud/server/blob/master/apps/dav/lib/Migration/BuildCalendarSearchIndex.php |
wow, you are right! I did not realize that before. |
Or you copy what georg did for the calendar? |
So what do we do here? |
@call-me-matt Can you implement something similar to what I did back then for CalDAV? It's fine to do it once on upgrade, no need to do it every time a user enables/disables the option. It would be good to optimize the SQL query and only reindex vCards that actually contain |
I'd say we should add the social profile to the search index and I'll take it as an action for the contacts app to re-index. |
oh, it's not coming in NCv20 anymore? how come, is there anything missing? |
We're passed the feature freeze :) |
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
required in order to optimize regular background updates of contact avatars from social networks (see nextcloud/contacts#1722 (comment))