Smalyshev triaged this task as "Low" priority.
Smalyshev added a comment.

But if the URLs were already indexed using eg a basically alphabetical B-tree, it might be possible to do the cast to string and still preserve an indexing, so it might still be possible to execute the line above with indexing, and for it therefore to still be very fast.

Probably not likely, since RDF triple members are not indexed directly as text strings, but instead they are converted to internal representation, which is used in the index. However, the internal representation works only for matching/comparison, not for substrings, etc. To do substring operation, the internal representation needs to be converted back to the original string via lookup. So it is not likely index will be very helpful here, unfortunately.


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

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

To: Smalyshev
Cc: Smalyshev, Aklapper, Jheald, QZanden, EBjune, merbst, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to