text indexer for thorn hackathon