@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
-<properties>
- <comment>IKAnalyzer 扩展配置</comment>
- <entry key="ext_dict">/ext.dic</entry>
- <entry key="ext_stopwords">/stopwowrd.dic</entry>
-</properties>
@@ -66,7 +66,7 @@ public class SearchUtils {
return null;
}
BooleanQuery booleanQuery = new BooleanQuery();
- Analyzer analyzer = new IKAnalyzer(true);
+ Analyzer analyzer = new IKAnalyzer();
try {
TokenStream tokenStream = analyzer.tokenStream(field, keyword);
tokenStream.reset();
@@ -1,3 +0,0 @@
-8位
-16位
-32位