[ 
https://issues.apache.org/jira/browse/SOLR-18693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated SOLR-18693:
----------------------------------
    Labels: pull-request-available  (was: )

>  Opt-in MMapDirectory.setReadAdvice(ADVISE_BY_CONTEXT) via DirectoryFactory
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-18693
>                 URL: https://issues.apache.org/jira/browse/SOLR-18693
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Prithvi S
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Lucene 10.3+ (CHANGES https://github.com/apache/lucene/pull/15040) stopped 
> setting read advice by default. Merge/flush
> and DataAccessHints are largely no-ops for madvise unless something calls
> MMapDirectory.setReadAdvice. Solr has no setReadAdvice usages today.
> Add an opt-in solrconfig/init param adviseByContext (default false) on
> StandardDirectoryFactory / MMapDirectoryFactory / NRTCachingDirectoryFactory.
> When enabled, unwrap FilterDirectory/NRTCachingDirectory and call
> setReadAdvice(ADVISE_BY_CONTEXT) if the delegate is an MMapDirectory.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to