Turning text into index terms: character filters, a tokenizer, then token filters (lowercasing, stop words, stemming).