Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 47661 invoked from network); 18 Aug 2009 20:06:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Aug 2009 20:06:21 -0000 Received: (qmail 19377 invoked by uid 500); 18 Aug 2009 20:06:38 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 19294 invoked by uid 500); 18 Aug 2009 20:06:38 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 19284 invoked by uid 99); 18 Aug 2009 20:06:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 20:06:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 20:06:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D6FC429A0012 for ; Tue, 18 Aug 2009 13:06:14 -0700 (PDT) Message-ID: <674333032.1250625974879.JavaMail.jira@brutus> Date: Tue, 18 Aug 2009 13:06:14 -0700 (PDT) From: "Jason Rutherglen (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Commented: (SOLR-1296) Enable opening IndexReader with termInfosIndexDivisor and setting IndexWriter's termIndexInterval In-Reply-To: <582681202.1248111674971.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744679#action_12744679 ] Jason Rutherglen commented on SOLR-1296: ---------------------------------------- For a test I agree it's not worth exposing IW publicly however there should be a simple way to access it as a package protected variable? A great example of a public Lucene API being exposed from Solr that can easily break the system is getWrappedReader. IR is as canonical to Lucene as IW. And calling close on IR will also cause numerous errors for users. Why is it public, it's only used internally to Solr? The Solr policy as it's being described isn't making sense to me. An answer to the second question? {quote} bq. do we really need solrconfig-termindex.xml We probably don't want all the tests to have different behavior. {quote} > 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.