lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (Created) (JIRA)" <>
Subject [jira] [Created] (SOLR-3322) Add more context to IndexReaderFactory.newReader
Date Thu, 05 Apr 2012 15:18:24 GMT
Add more context to IndexReaderFactory.newReader

                 Key: SOLR-3322
             Project: Solr
          Issue Type: Improvement
    Affects Versions: 4.0
            Reporter: Andrzej Bialecki 
            Assignee: Andrzej Bialecki 
             Fix For: 4.0

In some situations where a custom IndexReaderFactory is used the amount of information passed
to the newReader(..) call is too small. E.g. if a factory needs to access some external data
that depends on schema or even on the collection name then it has no way to obtain that context.

We cannot use SolrCoreAware here because this method is called before SolrCore is ready.

I propose to simply change the signature and add a SolrCore argument. Even though SolrCore
is not fully valid at this point, still the most useful properties there are valid (schema,
descriptor, config, etc...).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message