Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A55D79CAF for ; Mon, 19 Mar 2012 22:00:06 +0000 (UTC) Received: (qmail 33205 invoked by uid 500); 19 Mar 2012 22:00:05 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 33135 invoked by uid 500); 19 Mar 2012 22:00:05 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 33128 invoked by uid 99); 19 Mar 2012 22:00:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2012 22:00:05 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lukai1984@gmail.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vx0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2012 22:00:00 +0000 Received: by vcbfl17 with SMTP id fl17so10543154vcb.35 for ; Mon, 19 Mar 2012 14:59:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=S0Csg3Aj/XIS0LjwLsQfxMYZy3LX4aHcKWRgnzcEPVA=; b=mLrHH94aakBDtszoyOTQhBpC7d29RE669eyRwwccPAccIiQBQAnh24+mdolGW946J/ Z5zlvaVD9Cjl8sgmSx068Z2QoLivJseVNIZY3m5MtBxXzxUb9v0gqSD6JjFg/ij15SMY WhfxzOG2JpLqkUzZPWDIQyhHfa+tqPoQFokigsj01/gVVdtj4HbSb45jGjNAiEMU6zj3 MKwk0QI0oohEjoyPO8ipMAlzkLUf6aeCcLKNx40FaZlTWhJW1kmLBMme6a/vN3dlFQDc vDiHzF1VvWUyYh3Z6UavnxkeJZ255+Aq/AxvGH6EvQGmpeQhg6ixUje8Cs/Su4mh7YSt jXcg== MIME-Version: 1.0 Received: by 10.52.28.164 with SMTP id c4mr776255vdh.130.1332194379692; Mon, 19 Mar 2012 14:59:39 -0700 (PDT) Received: by 10.52.98.230 with HTTP; Mon, 19 Mar 2012 14:59:39 -0700 (PDT) In-Reply-To: References: Date: Mon, 19 Mar 2012 14:59:39 -0700 Message-ID: Subject: Re: How to extend "TermInfo" ? From: lukai To: dev@lucene.apache.org Content-Type: multipart/alternative; boundary=20cf307cfd94c5fbbf04bb9fac8a X-Virus-Checked: Checked by ClamAV on apache.org --20cf307cfd94c5fbbf04bb9fac8a Content-Type: text/plain; charset=ISO-8859-1 Thx, i will try to move to 4.x version. On Mon, Mar 19, 2012 at 2:24 PM, Michael McCandless < lucene@mikemccandless.com> wrote: > On Mon, Mar 19, 2012 at 5:13 PM, lukai wrote: > > > Thanks for the information. > > You're welcome! > > > I'd like to store like one float value per item. To implement another > query > > evaluation algo which needs to store information per term. > > OK, sounds neat. > > > BTW, i might also > > want to store information per document for each item. It seems currently > the > > payload information are stored in each position the term occurs. Any > plans > > to store add an mechanism to store information per doc? > > In trunk, you can use doc values for this? > > > It might be also > > possible to merge all payload info for one document, but it's a bit > > computing waste in runtime. > > In 3.x, you can make a field for each document, that has only one term > occurrence and stores the payload on it? > Smart solution... :) > > Mike McCandless > > http://blog.mikemccandless.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: dev-help@lucene.apache.org > > --20cf307cfd94c5fbbf04bb9fac8a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thx, i will try to move to 4.x version.


On Mon, Mar 19, 2012 at 2:24 PM, Michael McCandless <lucene@mikemccandless.co= m> wrote:
On Mon, Mar 19, 2012 at 5:13 PM, lukai <<= a href=3D"mailto:lukai1984@gmail.com">lukai1984@gmail.com> wrote:
> Thanks for the information.

You're welcome!

> I'd like to store like one float value per item. To implement anot= her query
> evaluation algo which needs to store information per term.

OK, sounds neat.

> BTW, i might also
> want to store information per document for each item. It seems current= ly the
> payload information are stored in each position the term occurs. Any p= lans
> to store add an mechanism to store information per doc?

In trunk, you can use doc values for this?

> It might be also
> possible to merge all payload info for one document, but it's a bi= t
> computing waste in runtime.

In 3.x, you can make a field for each document, that has only one ter= m
occurrence and stores the payload on it?

Smart sol= ution... :)
=A0

Mike McCandless

http://blog.mi= kemccandless.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


--20cf307cfd94c5fbbf04bb9fac8a--