lucene-dev mailing list archives

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

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

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: https://issues.apache.org/jira/browse/LUCENE-3493
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message