Yes! A rather extreme difference and you probably want it in both. The admin/analysis page is your friend.
Basically, putting stuff in the type="index" section dictates what goes into the index, and that is _all_ that is searchable. The result of the full analysis chain is what's in the index and searchable. Putting stuff in the type="query" section dictates what terms the index is searched for. So if the two don't match, you will get "surprising" results. I'd advise that you keep them both identical until you're more familiar with how all this works or use one of the pre-defined examples and add or remove filters _in the same order_. Best Erick On Wed, Jun 26, 2013 at 6:23 AM, Mugoma Joseph O. <mug...@yengas.com> wrote: > Hello, > > What's the criteria used in putting an analyzer at query or index? e.g. I > want to use NGramFilterFactory, is there a difference whether I put it > under <analyzer type="index"> or <analyzer type="query"> ? > > Thanks. > > > Mugoma >