[20:43:21] [telegram] Consider the article abc/xyz. Is there any method by which I can retrieve all the pages with the word containing /xyz in the page title? [20:52:10] SQL query maybe [20:52:20] There's a request to have a SuffxIndex like PrefixIndex [20:52:52] [telegram] Ohk. Will it be possible using regex? [20:53:18] [telegram] Like "something followed by /xyz" [20:55:49] where page_title LIKE '%/xyz' should work in SQL [20:55:52] But it's not gonna be fast [20:56:18] [telegram] Ok. Let me check it [21:04:22] [telegram] Well, LIKE is usually only slow if wildcard is on the both sides 🙂 [21:06:17] https://phabricator.wikimedia.org/T12808 [21:06:20] >No DB support for doing this efficiently. [21:06:46] [telegram] Ok [21:11:12] [telegram] Cannot it rely on elastic? (re @wmtelegram_bot: [irc] >No DB support for doing this efficiently.) [21:11:43] Brions comment is from 2007 ;) [21:11:53] I mean, in theory, yes. But it couldn't be a core MW feature like that [21:12:17] And Gergo suggested that in 2015 ;P [21:12:57] [telegram] Nice [21:14:00] [telegram] Oh, and Izno's comment basically says that it already works [21:14:37] [telegram] If someone searches intitle:/.*\/foo/ I guess or something