lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5285) FastVectorHighlighter copies segments scores when splitting segments across multi-valued fields
Date Fri, 29 Nov 2013 16:56:36 GMT

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

ASF subversion and git services commented on LUCENE-5285:
---------------------------------------------------------

Commit 1546607 from [~jpountz] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1546607 ]

LUCENE-5285: Improved highlighting of multi-valued fields with FastVectorHighlighter.

> FastVectorHighlighter copies segments scores when splitting segments across multi-valued
fields
> -----------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-5285
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5285
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Nik Everett
>            Priority: Minor
>         Attachments: LUCENE-5285.patch, LUCENE-5285.patch
>
>
> FastVectorHighlighter copies segments scores when splitting segments across multi-valued
fields.  This is only a problem when you want to sort the fragments by score. Technically
BaseFragmentsBuilder (line 261 in my copy of the source) does the copying.
> Rather than copying the score I _think_ it'd be more right to pull that copying logic
into a protected method that child classes (such as ScoreOrderFragmentsBuilder) can override
to do more intelligent things.  Exactly what that means isn't clear to me at the moment.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message