: Depending on your needs, you might want to do some sort of minimal : analysis on the field (ignore punctuation, lowercase,...) Here's the : text_exact field that I use:
Deans reply is a great example of what "exact" is a vague term. with a TextField you can get an "exact" match using a simple phrase query (ie: putting quotes arround the input) assuming your meaning of "exact" is that all the tokens appera together in sequence, and assuming your analyzer doesn't change things in a way that makes a phrase search match in a way that you don't consider "exact enough" if you want to ensure that the documents contains exactly what the user queried for, no more and no less, then using a copyField into StrField is really the best way to do that. -Hoss