mirror of https://github.com/apache/lucene.git
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:
parent
7dc5d67fe4
commit
d23f0887e6
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue