Smalyshev added a comment.
> If elastic already has captions indexed then yes this could probably just use elastic. Yes, we do index captions. The question is of course how you want them indexed - which depends on the type of the lookup that is required. Right now we were indexing them as labels and just moved to indexing them as descriptions instead (T226722 <https://phabricator.wikimedia.org/T226722>) but would be nice to know how the index is intended to be used. > I know media info isn't there yet in terms of these caption to entity lookups, but it will continue to increase, and there is no reason it couldn't even surpass the rate of the requests of this type for items. So is it full caption text to item lookup (exact match) or some kind of search inside, or prefix completion, or something else? I am not sure about the use case and what requirements for matching are there for this - understanding this probably would be required to seeing if Elastic is appropriate or not. TASK DETAIL https://phabricator.wikimedia.org/T227847 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Smalyshev Cc: Smalyshev, Abit, jcrespo, alaa_wmde, hoo, Addshore, Ladsgroup, Lucas_Werkmeister_WMDE, Jarekt, Aklapper, Cparle, Mike_Peel, Jheald, Keegan, Marsupium, Multichill, matthiasmullie, JKSTNK, Lahi, PDrouin-WMF, E1presidente, Ramsey-WMF, Anooprao, SandraF_WMF, Tramullas, Acer, V4switch, Salgo60, Silverfish, Susannaanas, Wong128hk, Jane023, Wikidata-bugs, Base, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, Jdforrester-WMF, Steinsplitter, Matanya
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs