Skip to content

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<inceptionYear>2011</inceptionYear>
1313

1414
<properties>
15-
<elasticsearch.version>6.5.0</elasticsearch.version>
15+
<elasticsearch.version>6.8.0</elasticsearch.version>
1616
<maven.compiler.target>1.8</maven.compiler.target>
1717
<elasticsearch.assembly.descriptor>${project.basedir}/src/main/assemblies/plugin.xml</elasticsearch.assembly.descriptor>
1818
<elasticsearch.plugin.name>analysis-ik</elasticsearch.plugin.name>

src/main/java/org/wltea/analyzer/core/AnalyzeContext.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,13 +268,13 @@ void outputToResult(){
268268
while(l != null){
269269
this.results.add(l);
270270
//字典中无单字,但是词元冲突了,切分出相交词元的前一个词元中的单字
271-
int innerIndex = index + 1;
271+
/*int innerIndex = index + 1;
272272
for (; innerIndex < index + l.getLength(); innerIndex++) {
273273
Lexeme innerL = path.peekFirst();
274274
if (innerL != null && innerIndex == innerL.getBegin()) {
275275
this.outputSingleCJK(innerIndex - 1);
276276
}
277-
}
277+
}*/
278278

279279
//将index移至lexeme后
280280
index = l.getBegin() + l.getLength();

0 commit comments

Comments
 (0)