On Wed, Dec 21, 2016 at 1:21 AM, Ahmet Arslan <iori...@yahoo.com.invalid> wrote: > Hi, > > You can index whole address in a separate field. > Otherwise, how would you handle positions of the split tokens? > > By the way, speed of phrase search may be just fine, so consider trying first.
Speed aside, phrase search is difficult because you'll accidentally match too much. (u...@company.com will match u...@company.com.au, j...@gmail.com will match little.j...@gmail.com, etc.) Using a separate field for non-tokenised addresses would be my recommendation too. TX --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org