Re: Compatibility problems between AnalyzerWrapper api & MultiTerms.getTerms api

2020-04-15 Thread 小鱼儿
you're right! i made a mistake in my custom AnalyzerWrapper subclass... :-< Adrien Grand 于2020年4月15日周三 下午5:37写道: > Could you create a test case that is as small as possible and reproduces > the problem? I don't think that MultiTerms has anything to do with this. > > On Tue, Apr 14, 2020 at 9:52

Re: Compatibility problems between AnalyzerWrapper api & MultiTerms.getTerms api

2020-04-15 Thread Adrien Grand
Could you create a test case that is as small as possible and reproduces the problem? I don't think that MultiTerms has anything to do with this. On Tue, Apr 14, 2020 at 9:52 AM 小鱼儿 wrote: > I'm using AnalyzerWrapper to do per-field analyzer to do special indexing: > > PerFieldAnalyzerWrapper an

Compatibility problems between AnalyzerWrapper api & MultiTerms.getTerms api

2020-04-14 Thread 小鱼儿
I'm using AnalyzerWrapper to do per-field analyzer to do special indexing: PerFieldAnalyzerWrapper analyzer = new PerFieldAnalyzerWrapper(..); // PerFieldAnalyzerWrapper is subclass of Lucene's AnalyzerWrapper IndexWriterConfig iwc = new IndexWriterConfig(analyzer); However, i found that later w