lucene-dev mailing list archives

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


Andrzej Bialecki  updated SOLR-3322:

    Attachment: SOLR-3322.patch

Patch that implements the change. If there are no objections I'd like to commit shortly.
> Add more context to IndexReaderFactory.newReader
> ------------------------------------------------
>                 Key: SOLR-3322
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.0
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>             Fix For: 4.0
>         Attachments: SOLR-3322.patch
> 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
> 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