lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-8833) Allow subclasses of MMapDirecory to preload individual IndexInputs
Date Thu, 06 Jun 2019 10:53:00 GMT

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

Simon Willnauer commented on LUCENE-8833:
-----------------------------------------

> what would the iocontext provide to base the preload decision on? just curious.

sure, the one I had in mind as an example is merge. I am not sure if it makes a big difference
I was just thinking if there are other signals than the file extension. 
I opened LUCENE-8835 to fix the file listing issue FileSwitchDirectory has.

> Allow subclasses of MMapDirecory to preload individual IndexInputs
> ------------------------------------------------------------------
>
>                 Key: LUCENE-8833
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8833
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Simon Willnauer
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I think it's useful for subclasses to select the preload flag on a per index input basis
rather than all or nothing. Here is a patch that has an overloaded protected openInput method.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message