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

Shai Erera commented on LUCENE-3269:
------------------------------------

Patch looks good. One other idea I think we should try is to create the large 
indexes once per all Top-K tests extensions. There are several references to 
FacetTestBase.initIndex(), and I think that the TopK tests can create their 
indexes (which is the same) at @BeforeClass, perhaps all indexes per partition 
sizes that are tested, and then proceed with testing. I think that will cut 
away a large portion of the running time.

> Speed up Top-K sampling tests
> -----------------------------
>
>                 Key: LUCENE-3269
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3269
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: modules/facet
>            Reporter: Robert Muir
>             Fix For: 3.4, 4.0
>
>         Attachments: LUCENE-3269.patch
>
>
> speed up the top-k sampling tests (but make sure they are thorough on nightly 
> etc still)
> usually we would do this with use of atLeast(), but these tests are somewhat 
> tricky,
> so maybe a different approach is needed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to