lucene-dev mailing list archives

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


Mark Miller commented on LUCENE-3493:

bq. Yikes, logically the custom reader functionality should!

Okay, I see - you also want your Reader impl to be pulled from IW when using NRT. But as you
allude to below, you would need a custom IndexWriter to do that - that is where we get the
IndexReader from for NRT.

That's a scary road to start down currently (or as you say, endless).

bq. I don't think there's a way to implement a custom IW in Solr.

Would be pretty advanced stuff, but what we would likely have to do is allow users to provide
alternate SolrCoreState impls (currently the DefaultSolrCoreState impl is simply used). This
would let you manage what IndexWriter impl was used.
> 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