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 51E3CD6EE for ; Mon, 22 Oct 2012 08:50:42 +0000 (UTC) Received: (qmail 18405 invoked by uid 500); 22 Oct 2012 08:50:40 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 18356 invoked by uid 500); 22 Oct 2012 08:50:40 -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 18329 invoked by uid 99); 22 Oct 2012 08:50:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2012 08:50:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [193.52.32.76] (HELO storck.univ-ubs.fr) (193.52.32.76) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2012 08:50:31 +0000 Received: from [193.50.242.50] (dhcp-193-50-242-50.eduroam.univ-ubs.fr [193.50.242.50]) (authenticated bits=0) by storck.univ-ubs.fr (8.14.3/8.14.3) with ESMTP id q9M8o9LA025240 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 22 Oct 2012 10:50:09 +0200 (CEST) (envelope-from pierre-francois.marteau@univ-ubs.fr) Message-ID: <508508C1.8020209@univ-ubs.fr> Date: Mon, 22 Oct 2012 10:50:09 +0200 From: Pierre-Francois Marteau User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Retrieval of the position of indexed terms Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I am a recent user of the Lucene platform and have some difficulty to migrate from V3.6 to V4.0 a small IR fulltext application that requires to retrieve the positions of occurrence into the indexed documents of the query terms (I was using SpanQueries that are deprecated in the new version). This had certainly already addressed spmewhere, but I cannot figure out where. A short example of source code would be much helpful; Thanks for your expertise, P-F. -- -------------------------------------+-----------------------------+ Pr. Pierre-Fran�ois Marteau | | IRISA - Universit� de Bretagne-Sud, | | Universit� Europ�enne de Bretagne | T�l : +33-2.97.01.72.99 | Campus de Tohannic-BP 573, | Fax : +33-2.97.01.72.79 | 56017 Vannes Cedex, France | Sec : +33-2.97.01.72.35 | -------------------------------------+-----------------------------| http://www-irisa.univ-ubs.fr/Pierre-Francois.Marteau/ | -------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org