Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2EE59C825 for ; Mon, 14 May 2012 15:35:40 +0000 (UTC) Received: (qmail 56436 invoked by uid 500); 14 May 2012 15:35:36 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 56387 invoked by uid 500); 14 May 2012 15:35:36 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 56379 invoked by uid 99); 14 May 2012 15:35:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2012 15:35:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of SRS0=noCAns=DS=basetechnology.com=jack@yourhostingaccount.com designates 65.254.253.51 as permitted sender) Received: from [65.254.253.51] (HELO mailout06.yourhostingaccount.com) (65.254.253.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2012 15:35:29 +0000 Received: from mailscan01.yourhostingaccount.com ([10.1.15.1] helo=mailscan01.yourhostingaccount.com) by mailout06.yourhostingaccount.com with esmtp (Exim) id 1STxIi-0005kp-Nf for solr-user@lucene.apache.org; Mon, 14 May 2012 11:35:08 -0400 Received: from impout01.yourhostingaccount.com ([10.1.55.1] helo=impout01.yourhostingaccount.com) by mailscan01.yourhostingaccount.com with esmtp (Exim) id 1STxIi-00055x-3a for solr-user@lucene.apache.org; Mon, 14 May 2012 11:35:08 -0400 Received: from authsmtp11.yourhostingaccount.com ([10.1.18.11]) by impout01.yourhostingaccount.com with NO UCE id 9rb71j00M0EKrUA01rb7Jp; Mon, 14 May 2012 11:35:07 -0400 X-Authority-Analysis: v=2.0 cv=aoEw+FlV c=1 sm=1 a=qv7mQ/SWzBbiDb1yQkl06w==:17 a=aQzbgH187woA:10 a=1lN4px2KNPIA:10 a=3jZET7lWBKwA:10 a=IkcTkHD0fZMA:10 a=mV9VRH-2AAAA:8 a=wab71fqLQG9oybyA2xcA:9 a=QEXdDO2ut3YA:10 a=0X5nseG23sQA:10 a=5bnIr+R+vs56oWgm0tidcA==:117 X-EN-OrigOutIP: 10.1.18.11 X-EN-IMPSID: 9rb71j00M0EKrUA01rb7Jp Received: from 207-38-213-243.c3-0.nyr-ubr1.nyr.ny.cable.rcn.com ([207.38.213.243] helo=JackKrupansky) by authsmtp11.yourhostingaccount.com with esmtpa (Exim) id 1STxIh-0001tQ-Fl for solr-user@lucene.apache.org; Mon, 14 May 2012 11:35:07 -0400 Message-ID: <65C38A00222C4D7782E3DFF876F378D1@JackKrupansky> From: "Jack Krupansky" To: References: <4FB104E1.9080201@uni-jena.de> In-Reply-To: <4FB104E1.9080201@uni-jena.de> Subject: Re: Getting payloads for matching term in search result Date: Mon, 14 May 2012 11:35:04 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 X-EN-UserInfo: e0a4b55451ed9f27313ebf02e3d4348d:fc4a93e1349e680c52bdd723c0ab3ef6 X-EN-AuthUser: jack@basetechnology.com Sender: "Jack Krupansky" X-EN-OrigIP: 207.38.213.243 X-EN-OrigHost: 207-38-213-243.c3-0.nyr-ubr1.nyr.ny.cable.rcn.com The "stored" value of your payload field does in fact have the original payload value, albeit formatted as you have shown. Is that not sufficient? There doesn't appear to be any Solr support for returning term payload directly. I see a Jira issue for adding query support, but I don’t see a Jira for returning the payload(s) for matched terms. -- Jack Krupansky -----Original Message----- From: s.hermann@uni-jena.de Sent: Monday, May 14, 2012 9:13 AM To: solr-user@lucene.apache.org Subject: Getting payloads for matching term in search result Good day currently I have a field defined as can be seen below: Basically the content for that field has the following form: "Wiedersehn|x1062y1755 macht|x1340y1758 Freude|x1502y1758" where the stuff after the pipe is the payload data (some coordinates). What I want is to get that payload data at query time. E.g. I search for "macht" and in the result document from solr there will be the payload data "x1340y1758". Is there a way out of the box with solr. I have done this in plain lucene once with the TermPositions, so I know it might be possible to adopt this to solr. Silvio