Optimal Text-Based Time-Series Indices