You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/02/05 21:44:00 UTC

[jira] [Commented] (SOLR-15259) Lower default hl.fragAlignRatio

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

ASF subversion and git services commented on SOLR-15259:
--------------------------------------------------------

Commit 9dee3815edb07de3081a4d6f9f558e00c5adc6f6 in solr's branch refs/heads/main from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=9dee381 ]

SOLR-15259: hl.fragAlignRatio now defaults to 0.33 (#573)

to be faster and maybe looks nicer.

> Lower default hl.fragAlignRatio
> -------------------------------
>
>                 Key: SOLR-15259
>                 URL: https://issues.apache.org/jira/browse/SOLR-15259
>             Project: Solr
>          Issue Type: Improvement
>          Components: highlighter
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>             Fix For: 9.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> TheĀ {{hl.fragAlignRatio}} (for Unified Highlighter) has a large impact on performance.  The default of 0.5 tries to place the highlighted words in the middle of the fragment.  Lowering to somewhere between 0.20 and 0.33 can help a lot -- see SOLR-15246 and previously in https://lists.apache.org/thread.html/r2e44d290eac9edfa61ed9eced0d9f01a7bd1cbdf910344b2aa2368b8%40%3Csolr-user.lucene.apache.org%3E
> Lowering to 0.33 (to thus first third) is a better balance.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org