AS-Index: A Structure For String Search Using n-grams and Algebraic Signatures - Archive ouverte HAL Access content directly
Journal Articles Journal of Computer Science and Technology Year : 2016

AS-Index: A Structure For String Search Using n-grams and Algebraic Signatures


We present the AS-Index, a new index structure for exact string search in disk resident databases. AS-indexrelies on a classical inverted file structure, its main innovation being a probabilistic search based on the properties of algebraicsignatures used both for n-grams hashing and pattern search. Specifically, the properties of our signatures allow to carry outa search by inspecting only two of the posting lists. The algorithm thus enjoys the unique feature of requiring a constantnumber of disk accesses, independently from both the pattern size and the database size. We conduct extensive experimentson large datasets to evaluate our index behavior. They confirm that it steadily provides a search performance proportionalto the two disk accesses necessary to obtain the posting lists. This makes our structure a choice of interest for the class ofapplications that require very fast lookups in large textual databases.We describe the index structure, our use of algebraic signatures and the search algorithm. We discuss the operationaltrade-offs based on the parameters that affect the behavior of our structure, and present the theoretical and experimentalperformance analysis. We next compare the AS-Index to the state-of-the-art alternatives and show that (i) the constructiontime matches that of the competitors, due to the similarity of structures, (ii) the search time constantly outperforms thestandard approach, thanks to the economical access to data complemented by signature calculations, which is at the core ofour search method.
Fichier principal
Vignette du fichier
art_3216.pdf (388.77 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-01126550 , version 1 (01-02-2022)



Camelia Constantin, Cedric Du Mouza, Witold Litwin, Philippe Rigaux, Thomas Schwarz. AS-Index: A Structure For String Search Using n-grams and Algebraic Signatures. Journal of Computer Science and Technology, 2016, 31 (1), pp.147-166. ⟨10.1007/s11390-016-1618-6⟩. ⟨hal-01126550⟩
207 View
45 Download



Gmail Mastodon Facebook X LinkedIn More