Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 82617 invoked from network); 11 Sep 2010 21:17:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Sep 2010 21:17:00 -0000 Received: (qmail 80792 invoked by uid 500); 11 Sep 2010 21:16:58 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 80224 invoked by uid 500); 11 Sep 2010 21:16:58 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 80106 invoked by uid 99); 11 Sep 2010 21:16:57 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 21:16:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 21:16:40 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8BLGIs1000318 for ; Sat, 11 Sep 2010 21:16:18 GMT Message-ID: <11180502.135741284239778915.JavaMail.jira@thor> Date: Sat, 11 Sep 2010 17:16:18 -0400 (EDT) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-2640) add LuceneTestCase[J4].newField In-Reply-To: <20386184.135721284239778255.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-2640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-2640: -------------------------------- Attachment: LUCENE-2640.patch attached is a patch, with all core tests converted (and passing) we can always do the contrib tests later. > 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