lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (LUCENE-2378) Cutover remaining usage of pre-flex APIs
Date Wed, 16 Jun 2010 21:52:28 GMT

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

Yonik Seeley edited comment on LUCENE-2378 at 6/16/10 5:52 PM:
---------------------------------------------------------------

Attaching TestEnumPerf.java which tests the performance of iterating over all of the terms
in an index.

indexing in trunk is ~19% faster
enumerating in trunk is ~9% slower

Java6 -server
Params: 1000000 999 100000 100
Which is 1M docs, maxBufferedDocs=999, unique terms=100,000
(this results in 21 segments)

I haven't tried enumerating docs yet... that's up next.



      was (Author: yseeley@gmail.com):
    Attaching TestEnumPerf.java which tests the performance of iterating over all of the terms
in an index.

indexing in trunk is ~19% faster
enumerating in trunk is ~9% slower

I haven't tried enumerating docs yet... that's up next.
  
> Cutover remaining usage of pre-flex APIs
> ----------------------------------------
>
>                 Key: LUCENE-2378
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2378
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.0
>
>         Attachments: LUCENE-2378.patch, LUCENE-2378.patch, LUCENE-2378_FileFloatSource.patch,
LUCENE-2378_UnInvertedField.patch, TestEnumPerf.java
>
>
> A number of places still use the pre-flex APIs.
> This is actually healthy, since it gives us ongoing testing of the back compat emulation
layer.
> But we should at some point cut them all over to flex.  Latest we can do this is 4.0,
but I'm not sure we should do them all for 3.1... still marking this as 3.1 to "remind us"
:)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message