Won't Fix
Details
Assignee
UnassignedUnassignedReporter
Yoann RodièreYoann RodièreComponents
Affects versions
Priority
Major
Details
Details
Assignee
Unassigned
UnassignedReporter
Yoann Rodière
Yoann RodièreComponents
Affects versions
Priority
Created October 6, 2016 at 10:47 AM
Updated October 6, 2016 at 12:56 PM
Resolved October 6, 2016 at 12:55 PM
First, some interfaces are not supported:
org.apache.lucene.search.BoostAttribute
org.apache.lucene.search.FuzzyTermsEnum.LevenshteinAutomataAttribute
org.apache.lucene.search.MaxNonCompetitiveBoostAttribute
org.apache.lucene.analysis.NumericTokenStream.NumericTermAttribute
org.apache.lucene.analysis.tokenattributes.PositionLengthAttribute
org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute
org.apache.lucene.analysis.tokenattributes.BytesTermAttribute
Second, attributes implementing multiple interfaces are not supported, because the serializer assumes only one interface is implemented. This is the case of
org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl
for instance. We should make it possible for one attribute in Java to generate multiple attributes in the message.And finally, polymorphism is being ignored.
org.apache.lucene.collation.tokenattributes.CollatedTermAttributeImpl
for instance extendsorg.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
without implementing additional interfaces, but simply overrides a method. Simply solving the first two issue should solve the problem, though, provided every Attribute method is simply a getter.