lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2640) add LuceneTestCase[J4].newField
Date Sat, 11 Sep 2010 21:46:33 GMT

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

Robert Muir commented on LUCENE-2640:
-------------------------------------

bq. I would revert the changes and any previous randomization in the parts that are respo
nsible for the zip file creation.

Uwe, good catch. really though, the parts of the test that modify the index once opened should
be randomized.

only createIndex() should have no randomization... I'll fix this.

> add LuceneTestCase[J4].newField
> -------------------------------
>
>                 Key: LUCENE-2640
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2640
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Tests
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2640.patch
>
>
> I think it would be good to vary the different field options in tests.
> For example, we do this with IW settings (newIndexWriterConfig), and directories (newDirectory).
> This patch adds newField(), it works just like new Field(), except it will sometimes
turns on extra options:
> Stored fields, term vectors, additional term vectors data, etc.

-- 
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