Yeah, it definitely prohibits you from applying latent semantic analysis, so you could probably violate the license by indexing it with Elasticsearch, but that's a less common thing to do with source code than opening it up in an IDE. TF/IDF seems like a borderline case to me.