Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 89983 invoked from network); 9 Feb 2010 16:36:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Feb 2010 16:36:40 -0000 Received: (qmail 89830 invoked by uid 500); 9 Feb 2010 16:36:38 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 89760 invoked by uid 500); 9 Feb 2010 16:36:37 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 89750 invoked by uid 99); 9 Feb 2010 16:36:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 16:36:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [140.203.201.101] (HELO mx2.nuigalway.ie) (140.203.201.101) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 16:36:28 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAPsdcUsKhJ0L/2dsb2JhbADaWIRUBA X-IronPort-AV: E=Sophos;i="4.49,437,1262563200"; d="scan'208";a="10146615" Received: from unknown (HELO EVS1.ac.nuigalway.ie) ([10.132.157.11]) by mx2.nuigalway.ie with ESMTP; 09 Feb 2010 16:36:08 +0000 Received: from EVS1.ac.nuigalway.ie ([10.132.157.14]) by EVS1.ac.nuigalway.ie with Microsoft SMTPSVC(6.0.3790.3959); Tue, 9 Feb 2010 16:36:08 +0000 Received: from [10.2.18.102] ([140.203.154.11]) by EVS1.ac.nuigalway.ie over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Tue, 9 Feb 2010 16:36:07 +0000 Message-ID: <4B718EEB.3070605@deri.org> Date: Tue, 09 Feb 2010 16:35:55 +0000 From: Renaud Delbru User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9pre) Gecko/20100205 Lightning/1.0pre Shredder/3.0.2pre MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: Flex & Docs/AndPositionsEnum References: <4B714F5C.2040709@deri.org> <002701caa981$b5400ef0$1fc02cd0$@de> <4B71588D.3060001@deri.org> <002801caa988$7a5c5bc0$6f151340$@de> <9ac0c6aa1002090535s2757d07fj2e17bfc244aebf5b@mail.gmail.com> <4B716C5F.6020907@deri.org> <9ac0c6aa1002090804s19c3d6e6qc1a34bdaca5dd982@mail.gmail.com> In-Reply-To: <9ac0c6aa1002090804s19c3d6e6qc1a34bdaca5dd982@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Feb 2010 16:36:07.0928 (UTC) FILETIME=[FB004F80:01CAA9A5] X-Virus-Checked: Checked by ClamAV on apache.org On 09/02/10 16:04, Michael McCandless wrote: > On Tue, Feb 9, 2010 at 9:08 AM, Renaud Delbru wrote: > >> So, does it mean that the codec interface is likely to change ? Do I need to >> be prepared to change again all my code ;o) ? >> > This particular patch doesn't change the Codecs API -- it "only" > factors out the Multi* APIs from MultiReader. Likely you won't need > to change your codec... but try applying the patch and see :) > Ok, good news ;o). > However: if you consume the flex API directly, on top of multi readers > (something you shouldn't do, for performance reasons), you will have > to use MultiField's static methods to get the enums. > In my previous example (registering my codec in IndexWriter, and then use IndexReader), do I consume the flex API directly on top of the multi-readers directly ? If yes, how to avoid that ? Cheers -- Renaud Delbru --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org