lucene-solr-dev mailing list archives

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

    [ 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.


Mime
View raw message