Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1FE1CD869 for ; Wed, 24 Oct 2012 08:10:16 +0000 (UTC) Received: (qmail 15859 invoked by uid 500); 24 Oct 2012 08:10:13 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 15740 invoked by uid 500); 24 Oct 2012 08:10:12 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 15730 invoked by uid 99); 24 Oct 2012 08:10:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2012 08:10:12 +0000 Date: Wed, 24 Oct 2012 08:10:11 +0000 (UTC) From: "Nicolas Labrot (JIRA)" To: dev@lucene.apache.org Message-ID: <631444878.20853.1351066211957.JavaMail.jiratomcat@arcas> In-Reply-To: <1786022604.20851.1351066092133.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (LUCENE-4502) Highlighter does not highlight when using large exact phrase query MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-4502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Labrot updated LUCENE-4502: ----------------------------------- Attachment: LUCENE-4502.zip I joined a maven project to reproduce the issue > Highlighter does not highlight when using large exact phrase query > ------------------------------------------------------------------- > > Key: LUCENE-4502 > URL: https://issues.apache.org/jira/browse/LUCENE-4502 > Project: Lucene - Core > Issue Type: Bug > Components: modules/highlighter > Affects Versions: 3.6, 4.0 > Reporter: Nicolas Labrot > Attachments: LUCENE-4502.zip > > > For example I have the text > {noformat} > The text which appears before and after a highlighted term when using the simple formatter This parameter accepts per-field overrides. > {noformat} > I want to highlight this text with the query > {code:java} > String query = "\"which appears before and after a highlighted term when using the simple formatter\"" > {code} > Using the EnglishAnalyzer it does not highlight. > Using the WhitespaceAnalyzer it's highlight. > If the query is smaller the hightlight is correct. > I have try to track the issue, but it go to deeply into Lucene core at NearSpansUnordered -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org