You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2022/02/07 00:50:00 UTC
[jira] [Resolved] (SOLR-15259) Lower default hl.fragAlignRatio
[ https://issues.apache.org/jira/browse/SOLR-15259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Smiley resolved SOLR-15259.
---------------------------------
Resolution: Fixed
> 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: 20m
> 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