Return-Path: X-Original-To: apmail-lucy-user-archive@www.apache.org Delivered-To: apmail-lucy-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 BD23F1057A for ; Thu, 29 Aug 2013 12:16:33 +0000 (UTC) Received: (qmail 8513 invoked by uid 500); 29 Aug 2013 12:16:33 -0000 Delivered-To: apmail-lucy-user-archive@lucy.apache.org Received: (qmail 8406 invoked by uid 500); 29 Aug 2013 12:16:31 -0000 Mailing-List: contact user-help@lucy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lucy.apache.org Delivered-To: mailing list user@lucy.apache.org Received: (qmail 8398 invoked by uid 99); 29 Aug 2013 12:16:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Aug 2013 12:16:29 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [64.8.71.118] (HELO smtp.knology.net) (64.8.71.118) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Aug 2013 12:16:25 +0000 X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.1 cv=cczr8BzM c=1 sm=0 tr=0 a=GbFicFMgsOj6zvB2lnYcPw==:117 a=GbFicFMgsOj6zvB2lnYcPw==:17 a=K-v-2zaBAAAA:8 a=I1xR6cKPwZgA:10 a=LNE5iHjp_E8A:10 a=tZIG1YoLlBsA:10 a=xPpOtybq2zcA:10 a=IkcTkHD0fZMA:10 a=OzpUJJgJAAAA:8 a=Ejq8wbwAS5EA:10 a=wyjpycHzAAAA:8 a=yON4etAAAAAA:8 a=fjyE1_58-VFa-FKeYEMA:9 a=QEXdDO2ut3YA:10 a=gk6UYFcBKBgA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.knology.synacor.com header.from=peter@peknet.com; sender-id=neutral Authentication-Results: smtp02.knology.synacor.com smtp.mail=peter@peknet.com; spf=neutral; sender-id=neutral Received-SPF: neutral (smtp02.knology.synacor.com: 24.124.119.227 is neither permitted nor denied by domain of peknet.com) Received: from [24.124.119.227] ([24.124.119.227:48084] helo=PKarmanOSX.mpr.org) by smtp.knlogy.net (envelope-from ) (ecelerity 2.2.3.47 r(39787)) with ESMTP id F5/08-06157-07B3F125; Thu, 29 Aug 2013 08:15:44 -0400 Message-ID: <521F3B6F.5010206@peknet.com> Date: Thu, 29 Aug 2013 07:15:43 -0500 From: Peter Karman Reply-To: peter@peknet.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: user@lucy.apache.org References: <521ECECD.8030307@zefr.com> In-Reply-To: <521ECECD.8030307@zefr.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [lucy-user] Getting matched query terms for HitDocs On 8/28/13 11:32 PM, Philip Southam wrote: > > I tried looking at the highlighter source thinking that has to implement > similar logic, but my knowledge of C is next to nil and I didn't see any > thing like that in the Perl bindings that I could use. > > it is not native to the library, but I have one similar implementation here as an example: https://metacpan.org/module/SWISH::Prog::Lucy::Results#find_relevant_fields-1-0 see http://markmail.org/message/xoqwxofwphlowqxf -- Peter Karman . http://peknet.com/ . peter@peknet.com