You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2015/03/30 17:11:52 UTC

[jira] [Updated] (LUCENE-6377) Pass previous reader to SearcherFactory

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

Simon Willnauer updated LUCENE-6377:
------------------------------------
    Attachment: LUCENE-6377.patch

here is a patch just for the discussion. I wanna add tests etc. if folks are ok with the API change.

> Pass previous reader to SearcherFactory
> ---------------------------------------
>
>                 Key: LUCENE-6377
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6377
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>    Affects Versions: 5.0
>            Reporter: Simon Willnauer
>            Priority: Minor
>             Fix For: Trunk, 5.1
>
>         Attachments: LUCENE-6377.patch
>
>
> SearcherFactory is often used as advertised for warming segments for newly flushed segments or for searchers that are opened for the first time (generally where merge warmers don't apply). To make this simpler we should pass the previous reader to the factory as well to know what needs to be warmed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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