Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BBF96200D15 for ; Thu, 5 Oct 2017 23:20:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B87341609E2; Thu, 5 Oct 2017 21:20:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0ADBF1609D2 for ; Thu, 5 Oct 2017 23:20:00 +0200 (CEST) Received: (qmail 61927 invoked by uid 500); 5 Oct 2017 21:19:59 -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 61915 invoked by uid 99); 5 Oct 2017 21:19:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2017 21:19:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 81614180A52 for ; Thu, 5 Oct 2017 21:19:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=fucit-org.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id T-aMtf1LlVwB for ; Thu, 5 Oct 2017 21:19:57 +0000 (UTC) Received: from mail-pf0-f172.google.com (mail-pf0-f172.google.com [209.85.192.172]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 0CBF45F613 for ; Thu, 5 Oct 2017 21:19:56 +0000 (UTC) Received: by mail-pf0-f172.google.com with SMTP id l188so8543599pfc.6 for ; Thu, 05 Oct 2017 14:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fucit-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:in-reply-to:message-id:references:user-agent :mime-version; bh=9pCZVnVZ92ObuxB/rVqsEPnuWG2subE4lhuAOs1xvoo=; b=LDS3vOd57hBcHcOdzalfpzG0TAqnPXLMjw/LoLE7Xio11oRFjTVt8HsMIjeu5//caM yGqc8fayxwSMk3OIRLTre3HtCnQ9v0+fErxsXjua4jRLHfB9TAWDdxHmaQ51vcoxwa7h ApPQy/xsdK2XFftIryKBSg8bRF2O0tZDlNSuPasGdbE98hqIuNAD4Rd9JYQCJEq3pfO6 xQQ1NMgfzwLn74Yxn5mP00K+zLSjdC/uzixwAjFdqLPJmHLftiXNAYvNEJGkS/w8UbwA 09mecJEVHZN56L99emDKipWrRc+CkcWh468fEfmVe8Aqd5sL5w0vPwejh3FIxhuvMwnQ uEAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=9pCZVnVZ92ObuxB/rVqsEPnuWG2subE4lhuAOs1xvoo=; b=lRgm1qLrvYA+MPuCwDXSjklB6z0Dh9Vhi2OwU6ivwU90nPHhXMuu7+cX0/x3VH9sSN 7PEmZ/ialC0FUph/RvRtIAxPjwBzZN8I8Mm/JU57itphrf4zTo98h9CU/7YvXktEH9ZN wxDtRxxt4/EkhLUbDz216tUwOy0A4KM2sAtbXRrW2tvWPWCwIt+fZbRqwaCr01hGdZ6t dv2uv7iegZFjAvQi684lReXOQVH6oV4GbKhsSETMmrpqcyl2jM8CPBuNkGGfkDa4CT3b oUE8cLnil5HG2/vxrXcQaeNAXZjgFPh80Q7VqaLXLxmjiMjCzTqJkg5a3tLZtkEt0f6k jd7Q== X-Gm-Message-State: AMCzsaXmuL7djA8ERjWLIc3ohxs28x9dQ3Dc+QixCFh5FxpmygDUSNq1 w6PVo1Ox+NPXTe5fD7nnuzy6uhoV X-Google-Smtp-Source: AOwi7QBgFsAddBuNKfIZm5K4LrUAcmgbfkAzzXEAQ4mlP754siU60qQRFghldVybLruB0dYkukSCDg== X-Received: by 10.84.235.72 with SMTP id g8mr42899plt.86.1507238395072; Thu, 05 Oct 2017 14:19:55 -0700 (PDT) Received: from tray (c-73-24-207-196.hsd1.az.comcast.net. [73.24.207.196]) by smtp.gmail.com with ESMTPSA id p12sm28241714pgn.90.2017.10.05.14.19.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Oct 2017 14:19:54 -0700 (PDT) Date: Thu, 5 Oct 2017 14:19:53 -0700 (MST) From: Chris Hostetter To: java-user@lucene.apache.org Subject: Re: payload at the document level In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII archived-at: Thu, 05 Oct 2017 21:20:01 -0000 what you're describing is essentially just DocValues -- for each document, you can have an arbitrary bytes[] (or number, or sorted list of numbers), and you could write a custom query/similarity/collector that can access that "docvalue" at search time to decide if it's a match (or how to score it) : Date: Thu, 5 Oct 2017 14:15:01 -0700 : From: Lisheng Zhang : Reply-To: java-user@lucene.apache.org : To: java-user@lucene.apache.org : Subject: payload at the document level : : Hi, I understand payload should be associated with an indexed term, but i : remembered long time ago it was suggested that we should have payload at : the document level (for whole document), such that we can get payload by : docID only. : : Do we have this feature implemented in lucene 7 (i searched doc & code and : could not find)? : : Thanks very much for helps, Lisheng : -Hoss http://www.lucidworks.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org