Hi Shawn, Yes I can confirm, it works with out any errors with multiple tokenizers. Following is my analysis chain
StandardTokenizerFactory (only in index) StopFilterFactory LowerCaseFilterFactory ASCIIFoldingFilterFactory EnglishPossessiveFilterFactory StemmerOverrideFilterFactory (only in query) NgramTokenizerFactory (only in index) I'll have a look more into what you said, Single tokenizer in analysis chain. Regards, Lasitha Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 Blog : techreadme.blogspot.com On Thu, Jul 20, 2017 at 7:12 PM, Shawn Heisey <apa...@elyograg.org> wrote: > On 7/19/2017 8:31 PM, Lasitha Wattaladeniya wrote: > > But I have NgramTokenizerFactory at the end of indexing analyzer chain. > > Therefore I should still tokenize the email address. But how this affects > > the highlighting?, that's what I'm confused to understand > > You can only have one tokenizer in an analysis chain. I have no idea > what happens if you have more than one. I personally would expect that > to result in an initialization error, but maybe what it does is ignore > the additional tokenizers. Your experience seems to indicate that it > does NOT result in an error. Can you confirm? > > The analysis is done in this order: > > CharFilters > Tokenizer > Filters > > Thanks, > Shawn > >