You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2013/03/23 20:01:17 UTC

[jira] [Commented] (SOLR-4638) DefaultSolrCoreState#getIndexWriter(null) is a way to avoid creating the IndexWriter earlier than necessary, but it's not implemented quite right.

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

Mark Miller commented on SOLR-4638:
-----------------------------------

If you are seeing indexwriter already closed type bs, it's probably this.
                
> DefaultSolrCoreState#getIndexWriter(null) is a way to avoid creating the IndexWriter earlier than necessary, but it's not implemented quite right.
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4638
>                 URL: https://issues.apache.org/jira/browse/SOLR-4638
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.3, 5.0, 4.2.1
>
>
> It should really work much more like the code path when you do create an indexwriter if it doesn't already exist, and it cannot count on just checking the refCntWriter as null, because it can lag the indexWriter variable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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