Content deleted Content added
Adding prestigious sources to back information. |
XOR'easter (talk | contribs) Undid revision 1260742911 by JulioISalazarG (talk): a source for the claim "The phrase '''full-text index''' is also often used" needs, at a bare minimum, to use the phrase "full-text index" |
||
Line 3:
In [[computer science]], a '''substring index''' is a [[data structure]] which gives [[substring]] search in a text or text collection in [[sublinear]] time. If you have a document <math>S</math> of length <math>n</math>, or a set of documents <math>D=\{S^1,S^2, \dots, S^d\}</math> of total length <math>n</math>, you can locate all occurrences of a pattern <math>P</math> in <math>o(n)</math> time. (See [[Big O notation|Big ''O'' notation]].)
The phrase '''full-text index''' is also often used for an index of all substrings of a text.
Substring indexes include:
|