You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Nick Wellnhofer (Commented) (JIRA)" <ji...@apache.org> on 2011/12/12 18:23:31 UTC

[lucy-issues] [jira] [Commented] (LUCY-182) highlighter bug when searching for duplicate terms [wordX wordX]

    [ https://issues.apache.org/jira/browse/LUCY-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167604#comment-13167604 ] 

Nick Wellnhofer commented on LUCY-182:
--------------------------------------

I committed the changes to Highlighter.c, leaving HeatMap.c as it is.
                
> highlighter bug when searching for duplicate terms [wordX wordX]
> ----------------------------------------------------------------
>
>                 Key: LUCY-182
>                 URL: https://issues.apache.org/jira/browse/LUCY-182
>             Project: Lucy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.1.0 (incubating), 0.2.0 (incubating), 0.2.1 (incubating)
>            Reporter: gk
>            Assignee: Marvin Humphrey
>             Fix For: 0.2.2 (incubating), 0.3.0 (incubating)
>
>         Attachments: LUCY-182-nwellnhof.patch, LUCY-182-test.pl, LUCY-182.patch
>
>
> I stumbled onto this one when searching for [business to business].
> Source <TITLE>: ...Companies, Products, Trade Leads, Business Marketplace
> 'to' is a stopword which is ignored - no problem.
> So the query then becomes [business business].  The highlighter then produces:
> ...Companies, Products, Trade Leads, <strong>Business</strong>
> <strong>Marketp</strong>lace
> I then spent some time chasing my tail trying to reduce things down to
> a small reproducible unit, and finally decided to try searching for
> any duplicate [wordX wordX], and sure enough it's reproducible with
> all my indexes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira