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 147B6F3BB for ; Tue, 16 Apr 2013 22:34:38 +0000 (UTC) Received: (qmail 68654 invoked by uid 500); 16 Apr 2013 22:34:34 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 68594 invoked by uid 500); 16 Apr 2013 22:34:34 -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 68586 invoked by uid 99); 16 Apr 2013 22:34:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2013 22:34:34 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of williams.tricia.list@gmail.com designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-ob0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2013 22:34:28 +0000 Received: by mail-ob0-f172.google.com with SMTP id v19so801387obq.17 for ; Tue, 16 Apr 2013 15:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=w7HcVwAKlD5bImrzKBVQYONIclMkcmkthGvWhuB1mZI=; b=VuRZB1A1zq3AhBKbIM9oIDBXGrv0K+tFv2MgjluLVaSx7TmXWZSCwRoXOb6903+INv aj+bcnvruHOnF+KELjg3cpKMezst9v/U4wvm+q0HjRVhTwC31izqkadvMrErE8a7KxVP Nb5/1nPKXZ6MuEwv4eOaAsWa9qn1Q/7i23p2ASCaX0EOERdVH/hJQTbmTTm9Zul9Wa/h fVIq2sZemIS6boQ/qAGGwn2LBFpoPemelfSQ72kPAsvBvGrHL2cTzO1yOYj+TK/z8hSj fWUi61ks1N1eIGbtKXLtGSayhCynZ4T0A5OnYKRhCzHvruhd2qw51THlpcvv4F+tYVu7 ETSQ== X-Received: by 10.182.151.9 with SMTP id um9mr1524576obb.89.1366151647428; Tue, 16 Apr 2013 15:34:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.138.228 with HTTP; Tue, 16 Apr 2013 15:33:26 -0700 (PDT) In-Reply-To: References: From: P Williams Date: Tue, 16 Apr 2013 16:33:26 -0600 Message-ID: Subject: Re: How do I recover the position and offset a highlight for solr (4.1/4.2)? To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=f46d0444e925a7932904da81f781 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0444e925a7932904da81f781 Content-Type: text/plain; charset=ISO-8859-1 Hi, It doesn't have the offset information, but checkout my patch https://issues.apache.org/jira/browse/SOLR-4722 which outputs the position of each term that's been matched. I'm eager to get some feedback on this approach and any improvements that might be suggested. Cheers, Tricia On Wed, Mar 27, 2013 at 8:28 AM, Skealler Nametic wrote: > Hi, > > I would like to retrieve the position and offset of each highlighting > found. > I searched on the internet, but I have not found the exact solution to my > problem... > --f46d0444e925a7932904da81f781--