Re: Reusability of QueryParser

2014-01-06 Thread Mindaugas Žakšauskas
Hi, This had helped, thank you Uwe! Regards, Mindaugas On Mon, Jan 6, 2014 at 12:48 PM, Uwe Schindler wrote: > Hi, > > The problem is your Analyzer: As it returns different components for each > field name, the constructor must pass the per field reuse strategy. By > default it uses GLOBAL_RE

RE: Reusability of QueryParser

2014-01-06 Thread Uwe Schindler
Hi, The problem is your Analyzer: As it returns different components for each field name, the constructor must pass the per field reuse strategy. By default it uses GLOBAL_REUSE_STRATEGY (the no-arg constructor does this). So create the Analyzer with PER_FIELD_REUSE_STRATEGY explicitely passed