You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Nicolas Labrot (JIRA)" <ji...@apache.org> on 2012/10/24 10:08:12 UTC
[jira] [Created] (LUCENE-4502) Highlighter does not highlight when
using large exact phrase query
Nicolas Labrot created LUCENE-4502:
--------------------------------------
Summary: 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: 4.0, 3.6
Reporter: Nicolas Labrot
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
[jira] [Updated] (LUCENE-4502) Highlighter does not highlight when
using large exact phrase query
Posted by "Nicolas Labrot (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Comment Edited] (LUCENE-4502) Highlighter does not
highlight when using large exact phrase query
Posted by "Nicolas Labrot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483070#comment-13483070 ]
Nicolas Labrot edited comment on LUCENE-4502 at 10/24/12 8:09 AM:
------------------------------------------------------------------
I joined a maven project which reproduce the issue
was (Author: nithril):
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