lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1296) Enable opening IndexReader with termInfosIndexDivisor and setting IndexWriter's termIndexInterval
Date Tue, 18 Aug 2009 18:56:14 GMT

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

Grant Ingersoll commented on SOLR-1296:
---------------------------------------

bq. Can you describe the worst case scenario you imagine will happen if IndexWriter is exposed?

Sure, someone who thinks they know what they are doing closes the IW when it shouldn't be
closed causing exceptions, etc and emails to solr-user, etc. and wasting the communities time.
 However, the impetus is not on me to defend why it shouldn't be exposed, it's on you to show
why it is proper to take something that is currently private and make it public just to pass
a test.  If it needs to be public for other use cases, fine, but generally speaking, I don't
think variables, etc. should be made public just for testing purposes.  That's bad OOD.

> Enable opening IndexReader with termInfosIndexDivisor and setting IndexWriter's termIndexInterval
> -------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-1296
>                 URL: https://issues.apache.org/jira/browse/SOLR-1296
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Jason Rutherglen
>            Assignee: Grant Ingersoll
>            Priority: Trivial
>             Fix For: 1.4
>
>         Attachments: SOLR-1296.patch, SOLR-1296.patch, SOLR-1296.patch, SOLR-1296.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> We need to enable opening an IndexReader with termInfosIndexDivisor set in solrConfig.
 
> We need to enable setting the termIndexInterval in SolrIndexConfig.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message