Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 85282 invoked from network); 29 Aug 2009 16:39:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Aug 2009 16:39:56 -0000 Received: (qmail 54726 invoked by uid 500); 29 Aug 2009 16:39:55 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 54639 invoked by uid 500); 29 Aug 2009 16:39:55 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 54629 invoked by uid 99); 29 Aug 2009 16:39:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2009 16:39:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2009 16:39:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CCA9F234C044 for ; Sat, 29 Aug 2009 09:39:32 -0700 (PDT) Message-ID: <1025128147.1251563972837.JavaMail.jira@brutus> Date: Sat, 29 Aug 2009 09:39:32 -0700 (PDT) From: "Mark Miller (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Commented: (SOLR-1319) Upgrade custom Solr Highlighter classes to new Lucene Highlighter API In-Reply-To: <1679717221.1249050495067.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749163#action_12749163 ] Mark Miller commented on SOLR-1319: ----------------------------------- The break is that {code}protected QueryTermScorer getQueryScorer(Query query, String fieldName, SolrQueryRequest request) {code} now has a different return type. Its too bad it wasnt done the same way as the SpanScorer - there you can just override the getSpanHighlighter call, but getting the Scorer is private. So its a break, though no one was overriding it likely - we should almost make it private - you can anything you need to overriding the getHighlighter call. At least, I should have changed it to just Scorer rather than QueryTermScorer. > Upgrade custom Solr Highlighter classes to new Lucene Highlighter API > --------------------------------------------------------------------- > > Key: SOLR-1319 > URL: https://issues.apache.org/jira/browse/SOLR-1319 > Project: Solr > Issue Type: Task > Components: highlighter > Reporter: Mark Miller > Assignee: Mark Miller > Fix For: 1.4 > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.