[ https://issues.apache.org/jira/browse/SOLR-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743512#action_12743512 ]
Hoss Man commented on SOLR-1296: -------------------------------- This should do the trick... {code} public class ExposeWriterHandler extends DirectUpdateHandler2 { public ExposeWriterHandler() { super(h.getCore()); } public getWriter() { forceOpenWriter(); return writer; } }; IndexWriter writer = (new ExposeWriterHandler()).getWriter(); {code} ...since all that maters is you get _a_ writer using the configsfrom the core. If i'm missing something then the next obvious solution would be to changed the <updateHandler class="..."/> to pointat a concrete public class created for this test. BTW: do we really need solrconfig-termindex.xml ? .. why not just make these changes to the solrconfig.xml that TestConfig already uses? > 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.