From 724fadd2cd507e55a0dece9d755e2b5675c2fe9a Mon Sep 17 00:00:00 2001 From: Chris Male Date: Wed, 31 Oct 2012 11:22:54 +1300 Subject: [PATCH] lucene 4: Converted Analyzers in MapperService --- .../index/mapper/MapperService.java | 158 ++---------------- 1 file changed, 17 insertions(+), 141 deletions(-) diff --git a/src/main/java/org/elasticsearch/index/mapper/MapperService.java b/src/main/java/org/elasticsearch/index/mapper/MapperService.java index 0e76465f4b3..07de483594a 100644 --- a/src/main/java/org/elasticsearch/index/mapper/MapperService.java +++ b/src/main/java/org/elasticsearch/index/mapper/MapperService.java @@ -25,7 +25,7 @@ import com.google.common.collect.Iterators; import com.google.common.collect.Sets; import com.google.common.collect.UnmodifiableIterator; import org.apache.lucene.analysis.Analyzer; -import org.apache.lucene.analysis.TokenStream; +import org.apache.lucene.analysis.AnalyzerWrapper; import org.apache.lucene.index.Term; import org.apache.lucene.queries.FilterClause; import org.apache.lucene.search.BooleanClause; @@ -864,7 +864,7 @@ public class MapperService extends AbstractIndexComponent implements Iterable