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] [Updated] (LUCENE-6377) Pass previous reader to SearcherFactory
Date Mon, 30 Mar 2015 15:11:52 GMT

     [ 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


Mime
View raw message