Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 39857 invoked from network); 21 Jun 2007 22:12:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jun 2007 22:12:53 -0000 Received: (qmail 46540 invoked by uid 500); 21 Jun 2007 22:12:50 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 46104 invoked by uid 500); 21 Jun 2007 22:12:48 -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 46093 invoked by uid 99); 21 Jun 2007 22:12:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2007 15:12:48 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [217.12.11.36] (HELO smtp005.mail.ukl.yahoo.com) (217.12.11.36) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 21 Jun 2007 15:12:44 -0700 Received: (qmail 15861 invoked from network); 21 Jun 2007 22:12:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Received:X-YMail-OSG:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=30qK8SLsiYxqUwJuc/WeI5/uUATqwpPkmSz+XYzWVSDCeLGhyTjA/Ft/0xiEeWW1ZohAukTPiCeGWDw3IZnP6td4GSYzJCNkC7iJ7FTyhhMX2Ok1a57VMi9DDRadzA6v46wBGBTd2Sdgs7DXrAo5bn6uPT9IVabtJVJW0Ra4yBY= ; Received: from unknown (HELO ?127.0.0.1?) (markharw00d@194.106.34.5 with plain) by smtp005.mail.ukl.yahoo.com with SMTP; 21 Jun 2007 22:12:22 -0000 X-YMail-OSG: L7ml6ZwVM1lf0BU63JY_wevxNpznkBQyrPWNH9WGuY7N.FKgANK2vbXzx649p_Bs93Ihu8Km6g-- Message-ID: <467AF7C4.6050002@yahoo.co.uk> Date: Thu, 21 Jun 2007 23:12:20 +0100 From: markharw00d User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: Highlighter that works with phrase and span queries References: <528917.34258.qm@web26006.mail.ukl.yahoo.com> <467AEB5A.6040301@gmail.com> In-Reply-To: <467AEB5A.6040301@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Mark, Good summary. I was running some timings earlier and my results echo your findings. >>I am currently trying to think of some possible hybrid approach to highlighting... I was thinking along the lines of wrapping some core classes such as IndexReader to somehow observe the query matching process and deduce from that what to highlight (avoiding the need for MemoryIndex) but I'm not sure that is viable. It would be nice to get some more match info out of the main query logic as it runs to aid highlighting rather than reverse engineering the basis of a match after the event. >>I have fixed a few things with my Highlighter and will be updating it soon. Look forward to it! Cheers Mark --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org