lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rutherglen (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3493) Solr reopen on a custom reader doesn't work
Date Thu, 06 Oct 2011 16:23:29 GMT


Jason Rutherglen commented on LUCENE-3493:

bq. Solr's NRT does not rely on a custom IndexReader

Yikes, logically the custom reader functionality should!

{quote}properly override doOpenIfChanged, else it would be a bug{quote}

It's a bug because there's no way to implement that today.  The DirectoryReader is created
deep inside of IW.getReader (there's no way to re-implement it's functionality either because
of private variable access).  

I think we need a protected method for creating reader in IW.  I think though this becomes
almost endless because I don't think there's a way to implement a custom IW in Solr.
> Solr reopen on a custom reader doesn't work
> -------------------------------------------
>                 Key: LUCENE-3493
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 3.4
>            Reporter: Jason Rutherglen
>            Priority: Blocker
>         Attachments: LUCENE-3493.patch
> When a custom index reader is used with Solr and reopen, the custom reader vanishes after
the reopen.  It's a bug.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message