Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CC8989D20 for ; Fri, 30 Mar 2012 17:38:55 +0000 (UTC) Received: (qmail 28309 invoked by uid 500); 30 Mar 2012 17:38:53 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 28227 invoked by uid 500); 30 Mar 2012 17:38:53 -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 28156 invoked by uid 99); 30 Mar 2012 17:38:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2012 17:38:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2012 17:38:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D5ED834FDCF for ; Fri, 30 Mar 2012 17:38:27 +0000 (UTC) Date: Fri, 30 Mar 2012 17:38:27 +0000 (UTC) From: "Michael McCandless (Updated) (JIRA)" To: dev@lucene.apache.org Message-ID: <532416991.38911.1333129107906.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <674720076.19736.1331832097996.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LUCENE-3873) tie MockGraphTokenFilter into all analyzers tests 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/LUCENE-3873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-3873: --------------------------------------- Attachment: LUCENE-3873.patch Patch... I think it's close, but there are still some nocommits... I had to rework the original MockGraphTokenFilter to sometimes buffer tokens so it can set the correct offsets. I added a few test cases to existing analyzers (SynFilter, Japanese, Standard), and new direct test cases. I also created a new MockHoleInjectingTokenFilter... Tests seem to pass... but it wouldn't surprise me if beasting/jenkins uncovers something... > tie MockGraphTokenFilter into all analyzers tests > ------------------------------------------------- > > Key: LUCENE-3873 > URL: https://issues.apache.org/jira/browse/LUCENE-3873 > Project: Lucene - Java > Issue Type: Task > Components: modules/analysis > Reporter: Robert Muir > Assignee: Michael McCandless > Attachments: LUCENE-3873.patch > > > Mike made a MockGraphTokenFilter on LUCENE-3848. > Many filters currently arent tested with anything but a simple tokenstream. > we should test them with this, too, it might find bugs (zero-length terms, > stacked terms/synonyms, etc) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org