lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <>
Subject [jira] [Created] (LUCENE-4310) creates utf32-keyed automaton and uses it with utf16 keys
Date Fri, 17 Aug 2012 11:35:37 GMT
Dawid Weiss created LUCENE-4310:

             Summary: creates utf32-keyed automaton and uses it with
utf16 keys
                 Key: LUCENE-4310
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Dawid Weiss

NormalizeCharMap#build method is inconsistent with later use in MappingCharFilter
        final org.apache.lucene.util.fst.Builder<CharsRef> builder = new org.apache.lucene.util.fst.Builder<CharsRef>(FST.INPUT_TYPE.BYTE2,
        final IntsRef scratch = new IntsRef();
        for(Map.Entry<String,String> ent : pendingPairs.entrySet()) {
          builder.add(Util.toUTF32(ent.getKey(), scratch),
                      new CharsRef(ent.getValue()));
(note BYTE2 vs. toUTF32 later on).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message