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 C2A179A5D for ; Wed, 15 Feb 2012 16:43:25 +0000 (UTC) Received: (qmail 37268 invoked by uid 500); 15 Feb 2012 16:43:24 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 37219 invoked by uid 500); 15 Feb 2012 16:43:24 -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 37211 invoked by uid 99); 15 Feb 2012 16:43:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2012 16:43:24 +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; Wed, 15 Feb 2012 16:43:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 006AE1B9FD3 for ; Wed, 15 Feb 2012 16:43:00 +0000 (UTC) Date: Wed, 15 Feb 2012 16:42:59 +0000 (UTC) From: "Robert Muir (Updated) (JIRA)" To: dev@lucene.apache.org Message-ID: <2006476788.41073.1329324180003.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1691232693.6895.1327913830167.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LUCENE-3731) Create a analysis/uima module for UIMA based tokenizers/analyzers 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-3731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-3731: -------------------------------- Attachment: LUCENE-3731_speed.patch Hi Tommaso, I noticed some of the tests here are really slow... digging in I think we have some perf issues: {noformat} junit-sequential: [junit] Testsuite: org.apache.lucene.analysis.uima.UIMABaseAnalyzerTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 52.302 sec [junit] [junit] Testsuite: org.apache.lucene.analysis.uima.UIMATypeAwareAnalyzerTest [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 38.506 sec [junit] [junit] Testsuite: org.apache.lucene.analysis.uima.ae.BasicAEProviderTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.02 sec [junit] [junit] Testsuite: org.apache.lucene.analysis.uima.ae.OverridingParamsAEProviderTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.042 sec [junit] {noformat} See the patch below (which cannot be committed yet)... currently i had to add sync around the analysis engine, but it avoids recreating the CAS for each document... which seems to cause the perf problems {noformat} junit-sequential: [junit] Testsuite: org.apache.lucene.analysis.uima.UIMABaseAnalyzerTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 3.858 sec [junit] [junit] Testsuite: org.apache.lucene.analysis.uima.UIMATypeAwareAnalyzerTest [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.731 sec [junit] [junit] Testsuite: org.apache.lucene.analysis.uima.ae.BasicAEProviderTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.009 sec [junit] [junit] Testsuite: org.apache.lucene.analysis.uima.ae.OverridingParamsAEProviderTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.058 sec [junit] {noformat} > Create a analysis/uima module for UIMA based tokenizers/analyzers > ----------------------------------------------------------------- > > Key: LUCENE-3731 > URL: https://issues.apache.org/jira/browse/LUCENE-3731 > Project: Lucene - Java > Issue Type: Improvement > Components: modules/analysis > Reporter: Tommaso Teofili > Assignee: Tommaso Teofili > Fix For: 3.6, 4.0 > > Attachments: LUCENE-3731.patch, LUCENE-3731_2.patch, LUCENE-3731_3.patch, LUCENE-3731_4.patch, LUCENE-3731_speed.patch > > > As discussed in SOLR-3013 the UIMA Tokenizers/Analyzer should be refactored out in a separate module (modules/analysis/uima) as they can be used in plain Lucene. Then the solr/contrib/uima will contain only the related factories. -- 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