LUCENE-5089: updated tag split character to be either + or |.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499533 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dawid Weiss 2013-07-03 19:32:41 +00:00
parent 7dc5d67fe4
commit d23f0887e6
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ public class MorfologikFilter extends TokenFilter {
termAtt.setEmpty().append(lemma.getStem());
CharSequence tag = lemma.getTag();
if (tag != null) {
String[] tags = tag.toString().split("\\+");
String[] tags = tag.toString().split("\\+|\\|");
for (int i = 0; i < tags.length; i++) {
if (tagsList.size() <= i) {
tagsList.add(new StringBuilder());