Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A054B984E for ; Thu, 5 Apr 2012 15:18:46 +0000 (UTC) Received: (qmail 22690 invoked by uid 500); 5 Apr 2012 15:18:45 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 22623 invoked by uid 500); 5 Apr 2012 15:18:45 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 22616 invoked by uid 99); 5 Apr 2012 15:18:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 15:18:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 15:18:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 06D7435A11E for ; Thu, 5 Apr 2012 15:18:24 +0000 (UTC) Date: Thu, 5 Apr 2012 15:18:24 +0000 (UTC) From: "Andrzej Bialecki (Created) (JIRA)" To: dev@lucene.apache.org Message-ID: <1322145736.17271.1333639104043.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (SOLR-3322) Add more context to IndexReaderFactory.newReader 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 Add more context to IndexReaderFactory.newReader ------------------------------------------------ Key: SOLR-3322 URL: https://issues.apache.org/jira/browse/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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org