You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2014/05/04 19:45:16 UTC
[jira] [Updated] (LUCENE-5643) Optimize NumericAttributeFactory
[ https://issues.apache.org/jira/browse/LUCENE-5643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-5643:
--------------------------------
Attachment: LUCENE-5643.patch
In my benchmark, the performance differences for indexing was very minor with this patch. So i want to put it on the backburner. Seems there are other things to fix first (times in milliseconds):
{noformat}
precisionStep = 4/4
trunk: 14551, 14355, 14444
patch: 14242, 14021, 14007
precisionStep = 8/16
trunk: 6067, 6083, 6209
patch: 5897, 5989, 5933
{noformat}
> 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
> Attachments: LUCENE-5643.patch
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org