Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 45322 invoked from network); 20 Dec 2009 16:40:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Dec 2009 16:40:46 -0000 Received: (qmail 90044 invoked by uid 500); 20 Dec 2009 16:40:45 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 89992 invoked by uid 500); 20 Dec 2009 16:40:45 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 89982 invoked by uid 99); 20 Dec 2009 16:40:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Dec 2009 16:40:45 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Dec 2009 16:40:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 83935234C04C for ; Sun, 20 Dec 2009 08:40:18 -0800 (PST) Message-ID: <1525546586.1261327218534.JavaMail.jira@brutus> Date: Sun, 20 Dec 2009 16:40:18 +0000 (UTC) From: "Robert Muir (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Commented: (SOLR-1674) improve analysis tests, cut over to new API In-Reply-To: <454551929.1261147518408.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-1674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793001#action_12793001 ] Robert Muir commented on SOLR-1674: ----------------------------------- Hello, I see Uwe has commented on SOLR-1657 that he would help convert tokenstreams to Solr's api, but he needs this patch (the tests) applied first. Is it possible for someone to take a look at this patch to get things moving along? its only tests, no source code changes. > improve analysis tests, cut over to new API > ------------------------------------------- > > Key: SOLR-1674 > URL: https://issues.apache.org/jira/browse/SOLR-1674 > Project: Solr > Issue Type: Test > Components: Schema and Analysis > Reporter: Robert Muir > Attachments: SOLR-1674.patch, SOLR-1674.patch > > > This patch > * converts all analysis tests to use the new tokenstream api > * converts most tests to use the more stringent assertion mechanisms from lucene > * adds new tests to improve coverage > Most bugs found by more stringent testing have been fixed, with the exception of SynonymFilter. > The problems with this filter are more serious, the previous tests were essentially a no-op. > The new tests for SynonymFilter test the current behavior, but have FIXMEs with what I think the old test wanted to expect in the comments. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.