Stored procedures for constructing Inverted Index search tables in MySQL