Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 72851 invoked from network); 8 Jul 2006 02:08:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Jul 2006 02:08:07 -0000 Received: (qmail 18169 invoked by uid 500); 8 Jul 2006 02:08:05 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 18143 invoked by uid 500); 8 Jul 2006 02:08:05 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 18132 invoked by uid 99); 8 Jul 2006 02:08:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jul 2006 19:08:05 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [206.190.53.30] (HELO smtp105.plus.mail.re2.yahoo.com) (206.190.53.30) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 07 Jul 2006 19:08:04 -0700 Received: (qmail 15448 invoked from network); 8 Jul 2006 02:07:42 -0000 Received: from unknown (HELO ?192.168.1.100?) (dmsmith555@71.64.157.245 with plain) by smtp105.plus.mail.re2.yahoo.com with SMTP; 8 Jul 2006 02:07:42 -0000 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <20060707171755.28310.qmail@web50314.mail.yahoo.com> References: <20060707171755.28310.qmail@web50314.mail.yahoo.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: DM Smith Subject: Re: Java 1.5 (was ommented: (LUCENE-565) Supporting deleteDocuments in IndexWriter (Code and Performance Results Provided)) Date: Fri, 7 Jul 2006 22:07:41 -0400 To: java-dev@lucene.apache.org X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Otis, First let me say, I don't want to rehash the arguments for or against Java 1.5. We can all go back and read the last two major threads on the issue. I don't think there is anything new to say. However, I think statements like: "no strong arguments" (I think the arguments were reasonable) "only a few people argued for it" (Only a few argued against it) "very little interest" (Very few votes are on any Jira issue, so what does that say) "adversaries" (I am not an adversary, I am a very interested party with a personal interest in the outcome) are inflammatory. I am willing to do the back port if it is possible and if it does not do violence to the implementation. There are a number of patches sitting in Jira and it is not clear to me which are even close to being applied. I am not interested in doing work on patches that are old or might sit around for a while until they are applied (and therefore become out of sync). If the patches are identified as being worthy of being applied and are also identified as being Java 1.5, I will port it and it's test if it make sense. It has already been granted that contrib allow Java 1.5. So I presume that the build has been updated to allow for 1.5 in contrib and not in core. If this is not the case I think that the first committer (or submitter) of Java 1.5 code to contrib has the responsibility to change the build system (or at least ensure that it is done.) As to the build system, I am not the right person to see that it works. I am using Eclipse to do the builds. I maintain 2 workspaces, one with core only and that is Java 1.4.2 and the other is core and contrib and that is Java 1.5. I have done this so I can help "back port" to Java 1.4. However, I think you have identified that the core people need to make a decision and the rest of us need to go with it. So, I suggest that Doug convene such a meeting of the minds and communicate the decision to the rest of us. DM On Jul 7, 2006, at 1:17 PM, Otis Gospodnetic wrote: > Hi Chuck, > > I think bulk update would be good (although I'm not sure how it > would be different from batching deletes and adds, but I'm sure > there is a difference, or else you wouldn't have done it). > Java 1.5 - no conclusion, but personally I felt: > - no strong arguments for 1.4, only a few people argued for it > - very little interest from 1.4 adversaries in helping with > backporting to 1.4 or updating the build system to do the retro > thing with 1.5 code > > So I think you should contribute your code. This will give us a > real example of having something possibly valuable, and written > with 1.5 features, so we can finalize 1.4 vs. 1.5 discussion, > probably with a vote on lucene-dev. > > Otis > > ----- Original Message ---- > From: Chuck Williams > To: java-dev@lucene.apache.org > Sent: Thursday, July 6, 2006 5:07:41 PM > Subject: Re: [jira] Commented: (LUCENE-565) Supporting > deleteDocuments in IndexWriter (Code and Performance Results Provided) > > robert engels wrote on 07/06/2006 12:24 PM: >> I guess we just chose a much simpler way to do this... >> >> Even with you code changes, to see the modification made using the >> IndexWriter, it must be closed, and a new IndexReader opened. >> >> So a far simpler way is to get the collection of updates first, then >> >> using opened indexreader, >> for each doc in collection >> delete document using "key" >> endfor >> >> open indexwriter >> for each doc in collection >> add document >> endfor >> >> open indexreader >> >> >> I don't see how your way is any faster. You must always flush to disk >> and open the indexreader to see the changes. > > .... > > Bulk updates however require yet another approach. Sorry to change > topics here, but I'm wondering if there was a final decision on the > question of java 1.5 in the core. If I submitted a bulk update > capability that required java 1.5, would it be eligible for > inclusion in > the core or not? > > Chuck > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-dev-help@lucene.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-dev-help@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org