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 9FB4C927E for ; Tue, 28 Feb 2012 16:44:08 +0000 (UTC) Received: (qmail 49014 invoked by uid 500); 28 Feb 2012 16:44:07 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 48957 invoked by uid 500); 28 Feb 2012 16:44:07 -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 48949 invoked by uid 99); 28 Feb 2012 16:44:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2012 16:44:07 +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; Tue, 28 Feb 2012 16:44:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 46A8C33E411 for ; Tue, 28 Feb 2012 16:43:46 +0000 (UTC) Date: Tue, 28 Feb 2012 16:43:46 +0000 (UTC) From: "Michael McCandless (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <634475327.28637.1330447426290.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1463172222.28415.1330443946286.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3832) Port BasicAutomata.stringUnion from Brics to Lucene 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-3832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218341#comment-13218341 ] Michael McCandless commented on LUCENE-3832: -------------------------------------------- Sorry, what I meant was: we already have (and use, from tests only) this algorithm, in {{lucene/test-framework/src/java/org/apache/lucene/util/automaton/DaciukMihovAutomatonBuilder.java}}. I agree we should promote it to core: it seems quite useful! Actually I think there are slight differences vs the attached patch (looks like Robert cutover to CharsRef/BytesRef), so I guess we need to reconcile those... or maybe just move the existing one from test-framework to StringUnionOperations (if there are no *important* differences :) ). > Port BasicAutomata.stringUnion from Brics to Lucene > --------------------------------------------------- > > Key: LUCENE-3832 > URL: https://issues.apache.org/jira/browse/LUCENE-3832 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Dawid Weiss > Assignee: Dawid Weiss > Priority: Trivial > Fix For: 3.6, 4.0 > > Attachments: LUCENE-3832.patch > > > Brics has my code to build Automaton from a set of sorted strings in one step (Daciuk/Mihov's algorithm again). This should be easily portable to Lucene and is quite useful. -- 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