Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 57275 invoked from network); 20 Nov 2007 00:29:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2007 00:29:25 -0000 Received: (qmail 58452 invoked by uid 500); 20 Nov 2007 00:29:06 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 58417 invoked by uid 500); 20 Nov 2007 00:29:06 -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 58406 invoked by uid 99); 20 Nov 2007 00:29:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 16:29:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yseeley@gmail.com designates 64.233.170.188 as permitted sender) Received: from [64.233.170.188] (HELO rn-out-0102.google.com) (64.233.170.188) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 00:28:56 +0000 Received: by rn-out-0102.google.com with SMTP id v46so1253616rnb for ; Mon, 19 Nov 2007 16:28:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=rkvD6c8mFL+KbNUPrkae9iVo9v4blpBM3j87fiB9iO8=; b=b9AFczM9DggNNATHt9Qak0NlMs21CmVaSgsQoFjf8rvIpWXcl+iKQN+ulmfcIN30s5u+MUyhSaR2HJPNnzdhLiVhTpDR3KwOctAvyqWvw/3GAbZUcjpuYtnb7qbUaJnI5sa4tYiQ+t0FAKJJ851FmqjaERZonPP4x+ajSYlAlgI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=c1eDB97a3EVx7sBYy0uVx2dMB4m+2rsrmhOFf4Qoi5c/wyFuWPcudYzf1EcD8aIB7qz5rmiC2Ft3MLxkpce2tZqbwjZgu/g2hUi5SPyaP798zGZK7K2RN6caHPxG0jZ+BYiNr6Fm3ezCs4Hln+OPGtHWKOqBXxruhH5zJP92ZSQ= Received: by 10.142.231.7 with SMTP id d7mr1376951wfh.1195518528059; Mon, 19 Nov 2007 16:28:48 -0800 (PST) Received: by 10.143.165.13 with HTTP; Mon, 19 Nov 2007 16:28:48 -0800 (PST) Message-ID: Date: Mon, 19 Nov 2007 19:28:48 -0500 From: "Yonik Seeley" Sender: yseeley@gmail.com To: java-user@lucene.apache.org Subject: Re: setting position value at indexing time In-Reply-To: <8837fb770711191539i4105436aj3ec32d436cc73e9b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8837fb770711191314x223f4bfdie7c661c66e86e4e2@mail.gmail.com> <8837fb770711191539i4105436aj3ec32d436cc73e9b@mail.gmail.com> X-Google-Sender-Auth: e15bf2711a2741d6 X-Virus-Checked: Checked by ClamAV on apache.org On Nov 19, 2007 6:39 PM, John Wang wrote: > oh, is there a way of opening that? Well, you can keep track of position increments yourself and then choose the correct position increment so that the position you want is indexed. AFAIK, positions increments must be positive , so you can't go backwards. It sounds like you are trying to use positions as payloads? -Yonik --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org