[ 
https://issues.apache.org/jira/browse/LUCENE-5643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989013#comment-13989013
 ] 

Robert Muir commented on LUCENE-5643:
-------------------------------------

I will make a prototype patch and do a benchmark.

> Optimize NumericAttributeFactory
> --------------------------------
>
>                 Key: LUCENE-5643
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5643
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/analysis
>            Reporter: Robert Muir
>
> Followup from LUCENE-5638: NumericTokenStream has its own factory, wrapping 
> AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY.
> Currently it gets no speedup from the change, but I think it could (I saw 
> speedups for even StringField from that change)
> It has 3 attributes: NumericTermAttribute, posIncr, and type. Maybe the 
> NumericTermAttributeImpl should also implement posIncr and type?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to