{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,18]],"date-time":"2026-08-18T03:06:11Z","timestamp":1787022371033,"version":"build-2736575974"},"reference-count":91,"publisher":"Association for Computing Machinery (ACM)","issue":"9","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2023,5]]},"abstract":"<jats:p>\n                    In many real-world database systems, a large fraction of the data is represented by strings: sequences of letters over some alphabet. This is because strings can easily encode data arising from different sources. It is often crucial to represent such string datasets in a compact form but also to\n                    <jats:italic>simultaneously<\/jats:italic>\n                    enable fast pattern matching queries. This is the classic text indexing problem. The four absolute measures anyone should pay attention to when designing or implementing a text index are:\n                    <jats:bold>(i)<\/jats:bold>\n                    index space;\n                    <jats:bold>(ii)<\/jats:bold>\n                    query time;\n                    <jats:bold>(iii)<\/jats:bold>\n                    construction space; and\n                    <jats:bold>(iv)<\/jats:bold>\n                    construction time. Unfortunately, however, most (if not all) widely-used indexes (e.g., suffix tree, suffix array, or their compressed counterparts) are not optimized for all four measures simultaneously, as it is difficult to have the best of all four worlds. Here, we take an important step in this direction by showing that text indexing with locally consistent anchors (lc-anchors) offers remarkably good performance in all four measures, when we have at hand a lower bound\n                    <jats:italic>l<\/jats:italic>\n                    on the length of the queried patterns --- which is arguably a quite reasonable assumption in practical applications. Specifically, we improve on the construction of the index proposed by Loukides and Pissis, which is based on bidirectional string anchors (bd-anchors), a new type of lc-anchors, by:\n                    <jats:bold>(i)<\/jats:bold>\n                    designing an average-case linear-time algorithm to compute bd-anchors; and\n                    <jats:bold>(ii)<\/jats:bold>\n                    developing a semi-external-memory implementation to construct the index in small space using near-optimal work. We then present an extensive experimental evaluation, based on the four measures, using real benchmark datasets. The results show that, for long patterns, the index constructed using our improved algorithms compares favorably to all classic indexes: (compressed) suffix tree; (compressed) suffix array; and the FM-index.\n                  <\/jats:p>","DOI":"10.14778\/3598581.3598586","type":"journal-article","created":{"date-parts":[[2023,7,10]],"date-time":"2023-07-10T18:19:06Z","timestamp":1689013146000},"page":"2117-2131","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":9,"title":["Text Indexing for Long Patterns: Anchors are All you Need"],"prefix":"10.14778","volume":"16","author":[{"given":"Lorraine A. K.","family":"Ayad","sequence":"first","affiliation":[{"name":"Brunei University London, London, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Grigorios","family":"Loukides","sequence":"additional","affiliation":[{"name":"King's College London, London, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Solon P.","family":"Pissis","sequence":"additional","affiliation":[{"name":"CWI and Vrije Universiteit, Amsterdam, the Netherlands"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,7,10]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-001-0088-5"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/2810036"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/3077136.3080761"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-012-9726-3"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/2591796.2591885"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/3381417"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/2629339"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1137\/1.9781611974331.ch143"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.CPM.2020.5"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/1390334.1390419"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ESA.2021.15"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/2975593"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1137\/1.9781611975994.37"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.14778\/3407790.3407851"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-44888-8_5"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/1998196.1998198"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.CPM.2018.23"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ESA.2021.30"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.CPM.2022.20"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-19929-0"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jda.2010.09.004"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-013-9860-6"},{"key":"e_1_2_1_23_1","volume-title":"Algorithms on strings","author":"Crochemore Maxime","unstructured":"Maxime Crochemore , Christophe Hancart , and Thierry Lecroq . 2007. Algorithms on strings . Cambridge University Press . Maxime Crochemore, Christophe Hancart, and Thierry Lecroq. 2007. Algorithms on strings. Cambridge University Press."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.SEA.2021.7"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ESA.2020.39"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1109\/SFCS.1997.646102"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/1412228.1455268"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/1082036.1082039"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-30213-1_23"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-19929-0_14"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1137\/090779759"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-73420-8_47"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/828.1884"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/100216.100217"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/3375890"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ESA.2020.54"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1137\/1.9781611974782.27"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-07959-2_28"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-018-0475-9"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1137\/1.9781611974768.6"},{"key":"e_1_2_1_41_1","volume-title":"Optimal Time and Space Construction of Suffix Arrays and LCP Arrays for Integer Alphabets. In Prague Stringology Conference 2019","author":"Goto Keisuke","year":"2019","unstructured":"Keisuke Goto . 2019 . Optimal Time and Space Construction of Suffix Arrays and LCP Arrays for Integer Alphabets. In Prague Stringology Conference 2019 , Prague, Czech Republic, August 26--28 , 2019, Jan Holub and Jan Zd\u00e1rek (Eds.). Czech Technical University in Prague, Faculty of Information Technology, Department of Theoretical Computer Science, 111--125. http:\/\/www.stringology.org\/event\/2019\/p11.html Keisuke Goto. 2019. Optimal Time and Space Construction of Suffix Arrays and LCP Arrays for Integer Alphabets. In Prague Stringology Conference 2019, Prague, Czech Republic, August 26--28, 2019, Jan Holub and Jan Zd\u00e1rek (Eds.). Czech Technical University in Prague, Faculty of Information Technology, Department of Theoretical Computer Science, 111--125. http:\/\/www.stringology.org\/event\/2019\/p11.html"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1002\/spe.2481"},{"key":"e_1_2_1_43_1","volume-title":"28th Annual European Symposium on Algorithms, ESA 2020, September 7--9, 2020, Pisa, Italy (Virtual Conference). LIPIcs","volume":"173","author":"Grandoni Fabrizio","year":"2020","unstructured":"Fabrizio Grandoni , Grzegorz Herman , and Peter Sanders ( Eds .). 2020 . 28th Annual European Symposium on Algorithms, ESA 2020, September 7--9, 2020, Pisa, Italy (Virtual Conference). LIPIcs , Vol. 173 . Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik. https:\/\/www.dagstuhl.de\/dagpub\/978-3-95977-162-7 Fabrizio Grandoni, Grzegorz Herman, and Peter Sanders (Eds.). 2020. 28th Annual European Symposium on Algorithms, ESA 2020, September 7--9, 2020, Pisa, Italy (Virtual Conference). LIPIcs, Vol. 173. Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik. https:\/\/www.dagstuhl.de\/dagpub\/978-3-95977-162-7"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539702402354"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/2766462.2767877"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1017\/cbo9780511574931"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/1148170.1148222"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1137\/070685373"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.STACS.2014.386"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1038\/s41592-022-01457-8"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1109\/ACCESS.2019.2924928"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/2851491"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-46049-9_20"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/3297723"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-19929-0_28"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1137\/1.9781611974768.8"},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/1217856.1217858"},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-48194-X_17"},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.1145\/3313276.3316368"},{"key":"e_1_2_1_60_1","doi-asserted-by":"publisher","DOI":"10.1137\/1.9781611977554.ch187"},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.CPM.2016.28"},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.1002\/(SICI)1097-024X(199911)29:13%3C1149::AID-SPE274%3E3.0.CO;2-O"},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1186\/gb-2009-10-3-r25"},{"key":"e_1_2_1_64_1","doi-asserted-by":"publisher","DOI":"10.1093\/bioinformatics\/btp324"},{"key":"e_1_2_1_65_1","doi-asserted-by":"publisher","DOI":"10.1093\/bioinformatics\/btp336"},{"key":"e_1_2_1_66_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ic.2021.104818"},{"key":"e_1_2_1_67_1","doi-asserted-by":"publisher","DOI":"10.1038\/s41576-020-0236-x"},{"key":"e_1_2_1_68_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ESA.2021.64"},{"key":"e_1_2_1_69_1","doi-asserted-by":"publisher","DOI":"10.1109\/TKDE.2022.3231780"},{"key":"e_1_2_1_70_1","doi-asserted-by":"publisher","DOI":"10.1145\/214438.214445"},{"key":"e_1_2_1_71_1","doi-asserted-by":"publisher","DOI":"10.1007\/11682462_64"},{"key":"e_1_2_1_72_1","doi-asserted-by":"publisher","DOI":"10.1137\/0222058"},{"key":"e_1_2_1_73_1","doi-asserted-by":"publisher","DOI":"10.1145\/1141753.1141819"},{"key":"e_1_2_1_74_1","doi-asserted-by":"publisher","DOI":"10.1145\/321479.321481"},{"key":"e_1_2_1_75_1","doi-asserted-by":"publisher","DOI":"10.5441\/002\/edbt.2014.27"},{"key":"e_1_2_1_76_1","doi-asserted-by":"publisher","DOI":"10.1137\/1.9781611974782.26"},{"key":"e_1_2_1_77_1","volume-title":"29th Annual European Symposium on Algorithms, ESA 2021, September 6--8, 2021, Lisbon, Portugal (Virtual Conference). LIPIcs","volume":"204","author":"Mutzel Petra","year":"2021","unstructured":"Petra Mutzel , Rasmus Pagh , and Grzegorz Herman ( Eds .). 2021 . 29th Annual European Symposium on Algorithms, ESA 2021, September 6--8, 2021, Lisbon, Portugal (Virtual Conference). LIPIcs , Vol. 204 . Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik. https:\/\/www.dagstuhl.de\/dagpub\/978-3-95977-204-4 Petra Mutzel, Rasmus Pagh, and Grzegorz Herman (Eds.). 2021. 29th Annual European Symposium on Algorithms, ESA 2021, September 6--8, 2021, Lisbon, Portugal (Virtual Conference). LIPIcs, Vol. 204. Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik. https:\/\/www.dagstuhl.de\/dagpub\/978-3-95977-204-4"},{"key":"e_1_2_1_78_1","volume-title":"Compact Data Structures - A Practical Approach","author":"Navarro Gonzalo","unstructured":"Gonzalo Navarro . 2016. Compact Data Structures - A Practical Approach . Cambridge University Press . http:\/\/www.cambridge.org\/de\/academic\/subjects\/computer-science\/algorithmics-complexity-computer-algebra-and-computational-g\/compact-data-structures-practical-approach?format=HB Gonzalo Navarro. 2016. Compact Data Structures - A Practical Approach. Cambridge University Press. http:\/\/www.cambridge.org\/de\/academic\/subjects\/computer-science\/algorithmics-complexity-computer-algebra-and-computational-g\/compact-data-structures-practical-approach?format=HB"},{"key":"e_1_2_1_79_1","doi-asserted-by":"publisher","DOI":"10.1137\/140998949"},{"key":"e_1_2_1_80_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-16321-0_34"},{"key":"e_1_2_1_81_1","doi-asserted-by":"publisher","DOI":"10.1145\/3426870"},{"key":"e_1_2_1_82_1","doi-asserted-by":"publisher","DOI":"10.1093\/bioinformatics\/bth408"},{"key":"e_1_2_1_83_1","doi-asserted-by":"publisher","DOI":"10.1093\/nar\/24.1.6"},{"key":"e_1_2_1_84_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00224-006-1198-x"},{"key":"e_1_2_1_85_1","doi-asserted-by":"publisher","DOI":"10.1145\/872757.872770"},{"key":"e_1_2_1_86_1","doi-asserted-by":"publisher","DOI":"10.1145\/3091107"},{"key":"e_1_2_1_87_1","doi-asserted-by":"publisher","DOI":"10.1561\/0400000014"},{"key":"e_1_2_1_88_1","doi-asserted-by":"publisher","DOI":"10.1145\/3209950.3209952"},{"key":"e_1_2_1_89_1","doi-asserted-by":"publisher","DOI":"10.1109\/SWAT.1973.13"},{"key":"e_1_2_1_90_1","doi-asserted-by":"publisher","DOI":"10.1038\/s41587-019-0217-9"},{"key":"e_1_2_1_91_1","doi-asserted-by":"publisher","DOI":"10.1093\/bioinformatics\/btaa472"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3598581.3598586","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,7,19]],"date-time":"2023-07-19T18:58:59Z","timestamp":1689793139000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3598581.3598586"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,5]]},"references-count":91,"journal-issue":{"issue":"9","published-print":{"date-parts":[[2023,5]]}},"alternative-id":["10.14778\/3598581.3598586"],"URL":"https:\/\/doi.org\/10.14778\/3598581.3598586","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2023,5]]},"assertion":[{"value":"2023-07-10","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}