Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 85650 invoked from network); 12 Sep 2006 22:00:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Sep 2006 22:00:51 -0000 Received: (qmail 50358 invoked by uid 500); 12 Sep 2006 22:00:48 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 50309 invoked by uid 500); 12 Sep 2006 22:00:48 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 50297 invoked by uid 99); 12 Sep 2006 22:00:48 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Sep 2006 15:00:48 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from ([209.237.227.198:49972] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id 35/F0-05218-D1E27054 for ; Tue, 12 Sep 2006 15:01:01 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 84BCB714337 for ; Tue, 12 Sep 2006 21:57:23 +0000 (GMT) Message-ID: <19963609.1158098243541.JavaMail.jira@brutus> Date: Tue, 12 Sep 2006 14:57:23 -0700 (PDT) From: "Mark Harwood (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-627) highlighter problems with overlapping tokens In-Reply-To: <32059926.1152810630639.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/LUCENE-627?page=comments#action_12434291 ] Mark Harwood commented on LUCENE-627: ------------------------------------- Hi Kerang, can you supply a patch/tests against the latest version? I committed a change to highlighter on the 16th August with what I beleived to be a fix for this problem: http://issues.apache.org/jira/browse/LUCENE-645 Looking at the patch you provided it seems to be old code which is missing support for this fix. Cheers Mark > highlighter problems with overlapping tokens > -------------------------------------------- > > Key: LUCENE-627 > URL: http://issues.apache.org/jira/browse/LUCENE-627 > Project: Lucene - Java > Issue Type: Bug > Components: Other > Affects Versions: 2.0.1 > Reporter: Yonik Seeley > Fix For: 2.0.1 > > Attachments: highlight_overlap.diff, Highlighter.java.diff > > > The lucene highlighter has problems when tokens that overlap are generated. > For example, if analysis of iPod generates the tokens "i", "pod", "ipod" (with pod and ipod in the same position), > then the highlighter will output this as iipod, regardless of if any of those tokens are highlighted. > Discovered via http://issues.apache.org/jira/browse/SOLR-24 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org