Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 27912 invoked from network); 12 May 2010 09:39:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 May 2010 09:39:12 -0000 Received: (qmail 35432 invoked by uid 500); 12 May 2010 09:39:09 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 35356 invoked by uid 500); 12 May 2010 09:39:09 -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 35348 invoked by uid 99); 12 May 2010 09:39:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 09:39:09 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [207.126.144.133] (HELO eu1sys200aog112.obsmtp.com) (207.126.144.133) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 12 May 2010 09:39:00 +0000 Received: from source ([193.36.230.103]) by eu1sys200aob112.postini.com ([207.126.147.11]) with SMTP ID DSNKS+p3H8ONGFRrEwk254o8TkGZaPz6hPNf@postini.com; Wed, 12 May 2010 09:38:40 UTC Received: from blackex04.detica.com ([10.1.1.9]) by proxy03.detica.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 12 May 2010 10:38:32 +0100 Received: from uksrpblkexb01.detica.com ([10.1.1.38]) by blackex04.detica.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 12 May 2010 10:38:39 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Unsupported operation in DocIdSetIterator using lucene 2.9 Date: Wed, 12 May 2010 10:38:37 +0100 Message-ID: <614C529D389A5944B351F7DFB7594F24AD9E10@uksrpblkexb01.detica.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Unsupported operation in DocIdSetIterator using lucene 2.9 Thread-Index: AcrxtuXw+LPEnBXSS8GDuQvLqYxQgA== From: "Gregory Tarr" To: X-OriginalArrivalTime: 12 May 2010 09:38:39.0888 (UTC) FILETIME=[E735B900:01CAF1B6] X-Virus-Checked: Checked by ClamAV on apache.org I am using lucene 2.9 and I can't understand why a succession of un-deprecated methods calls a deprecated method in this class. The series of calls is as follows: Searcher.search(Query, Collector) IndexSearcher.search(Weight, Filter, Collector) Scorer.score(Collector) DocIdSetIterator.nextDoc() DocIdSetIterator.next() The javadocs for next() say that you should call nextDoc() but yet the nextDoc() method calls next()! I understand it is changing in 3.0, but can this be made to work in 2.9 without editing the code? Many thanks, Greg Tarr This message should be regarded as confidential. If you have received thi= s email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard cop= y by an authorised signatory. The contents of this email may relate to d= ealings with other companies within the Detica Limited group of companies= =2E Detica Limited is registered in England under No: 1337451. Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, Eng= land. =0D --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org