Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E201EDF4E for ; Thu, 25 Oct 2012 13:58:31 +0000 (UTC) Received: (qmail 20646 invoked by uid 500); 25 Oct 2012 13:58:29 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 20591 invoked by uid 500); 25 Oct 2012 13:58:29 -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 20569 invoked by uid 99); 25 Oct 2012 13:58:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2012 13:58:29 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ian.lea@gmail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-wg0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2012 13:58:23 +0000 Received: by mail-wg0-f48.google.com with SMTP id ds1so851585wgb.5 for ; Thu, 25 Oct 2012 06:58:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=1C0a2Str/VZvLOVi77Bvt/QzCnw7xVvs/zSlPdT3TfM=; b=F2bISHF5tu8Xz3vyU21DQWXPwTs+JyHiwoAKOD2jGqTFFELKyQDhFP2sp0yjmSVkVB k6cadNEEFSAqvS2oniMP6QoKpulzJNdV/xBz/4ZGYnaYdCbMSWrUk3YrD+wl3iI8uOgn nvtH7io0WZaLpoT4s1jCTXvBbaYvQjJBtwW6JQwtI2mBpwmTogN/qq+PhiWrl4i4E+fi Mp7l9sKwttW8Byw+SXQYboMX6dNaGM+36KAKCDEAPc0jRSDeIKeYigd/9wCZ9pE6ho2D tEGVnpybyfak1P6kCQepWrR2cQYEtP+Vm64Le5VmCudiTgwX6SCs37qkZ0Wn0OnMfYXA R6/A== Received: by 10.180.90.201 with SMTP id by9mr10697178wib.5.1351173482238; Thu, 25 Oct 2012 06:58:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.57.20 with HTTP; Thu, 25 Oct 2012 06:57:41 -0700 (PDT) In-Reply-To: <508943AA.2030103@sirma.bg> References: <508943AA.2030103@sirma.bg> From: Ian Lea Date: Thu, 25 Oct 2012 14:57:41 +0100 Message-ID: Subject: Re: Is there some class to iterate on document's term positions in Lucene 4.0.0? To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org >From http://lucene.apache.org/core/4_0_0/MIGRATE.html TermPositions is renamed to DocsAndPositionsEnum, and no longer extends the docs only enumerator (DocsEnum). And the link is probably the answer to your second question. -- Ian. On Thu, Oct 25, 2012 at 2:50 PM, Ivan Vasilev wrote: > Hy Guys, > > In previous versions of Lucene there was a class TermPositions that could be > obtained form IndexReader. > Is there something that replaces it in Lucene 4.0.0? > > Also is there some documentation that describes how to use Lucene 4.0.0 > until next release of Lucene in Action book would be available? > > Cheers, > Ivan Vasilev > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org