Smalyshev added a comment.

Looking at TermPropertyLabelResolver, I see that it loads all properties into memory and caches it (for all languages). Should we keep doing this for ElasticSearch? Should we have separate caches for each language? Note that right now we cache full PropertyId object for every label in every language, which may not be the most efficient way of doing it. OTOH, since there are only about 5000 properties now, maybe it doesn't matter too much.


TASK DETAIL
https://phabricator.wikimedia.org/T194143

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev
Cc: Addshore, Aklapper, Smalyshev, daniel, Lydia_Pintscher, hoo, Lahi, Gq86, Darkminds3113, GoranSMilovanovic, QZanden, LawExplorer, Vali.matei, Volker_E, Wikidata-bugs, aude, GWicke, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to