Return-Path: X-Original-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 096AD9B45 for ; Fri, 2 Dec 2011 16:38:01 +0000 (UTC) Received: (qmail 71528 invoked by uid 500); 2 Dec 2011 16:38:00 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 71504 invoked by uid 500); 2 Dec 2011 16:38:00 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 71496 invoked by uid 99); 2 Dec 2011 16:38:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2011 16:38:00 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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, 02 Dec 2011 16:37:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D09EFAF095 for ; Fri, 2 Dec 2011 16:37:39 +0000 (UTC) Date: Fri, 2 Dec 2011 16:37:39 +0000 (UTC) From: "Michael McCandless (Commented) (JIRA)" To: pylucene-dev@lucene.apache.org Message-ID: <1797564740.35254.1322843859857.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1891936978.3098.1321982440205.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (PYLUCENE-12) Add PythonReusableAnalyzerBase, so we can create analyzers in Python 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/PYLUCENE-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161716#comment-13161716 ] Michael McCandless commented on PYLUCENE-12: -------------------------------------------- Re not SEGVing if you fail to call super ... OK, if we can't find a non-costly way to do it, let's not! > Add PythonReusableAnalyzerBase, so we can create analyzers in Python > -------------------------------------------------------------------- > > Key: PYLUCENE-12 > URL: https://issues.apache.org/jira/browse/PYLUCENE-12 > Project: PyLucene > Issue Type: Improvement > Reporter: Michael McCandless > Attachments: PYLUCENE-12.patch, PYLUCENE-12.patch > > > Lucene now has a useful helper class, ReusableAnalyzerBase; you subclass it and override one method, to create an analyzer that provides reusableTokenStream impl. > I think we should expose it in Python... patch is simple. -- 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