[jira] [Updated] (LUCENE-3498) IndexReaderFactory for Lucene

2011-10-09 Thread Jason Rutherglen (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Rutherglen updated LUCENE-3498:
-

Attachment: LUCENE-3498.patch

Added support for attaching the new Lucene IndexReaderFactory to a Solr index 
at the solrconfig.xml level.  All tests pass.

 IndexReaderFactory for Lucene
 -

 Key: LUCENE-3498
 URL: https://issues.apache.org/jira/browse/LUCENE-3498
 Project: Lucene - Java
  Issue Type: New Feature
  Components: core/index
Affects Versions: 3.4, 4.0
Reporter: Jason Rutherglen
Priority: Minor
 Attachments: LUCENE-3498.patch, LUCENE-3498.patch


 An IndexReaderFactory can be used by IndexWriter and DirectoryReader to 
 enable subclasses of DR to be instantiated by Lucene, automatically.

--
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-3498) IndexReaderFactory for Lucene

2011-10-09 Thread Jason Rutherglen (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Rutherglen updated LUCENE-3498:
-

Attachment: LUCENE-3498.patch

Added a new [backwards compatibility] SolrIndexReaderFactory that accepts a 
Solr core as a parameter.

All tests pass.

 IndexReaderFactory for Lucene
 -

 Key: LUCENE-3498
 URL: https://issues.apache.org/jira/browse/LUCENE-3498
 Project: Lucene - Java
  Issue Type: New Feature
  Components: core/index
Affects Versions: 3.4, 4.0
Reporter: Jason Rutherglen
Priority: Minor
 Attachments: LUCENE-3498.patch, LUCENE-3498.patch, LUCENE-3498.patch


 An IndexReaderFactory can be used by IndexWriter and DirectoryReader to 
 enable subclasses of DR to be instantiated by Lucene, automatically.

--
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-3498) IndexReaderFactory for Lucene

2011-10-09 Thread Jason Rutherglen (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Rutherglen updated LUCENE-3498:
-

Attachment: LUCENE-3498.patch

Removed SolrIndexReaderFactory, instead SolrCoreAware is used for the exact 
same purpose.  

Nice.

 IndexReaderFactory for Lucene
 -

 Key: LUCENE-3498
 URL: https://issues.apache.org/jira/browse/LUCENE-3498
 Project: Lucene - Java
  Issue Type: New Feature
  Components: core/index
Affects Versions: 3.4, 4.0
Reporter: Jason Rutherglen
Priority: Minor
 Attachments: LUCENE-3498.patch, LUCENE-3498.patch, LUCENE-3498.patch, 
 LUCENE-3498.patch


 An IndexReaderFactory can be used by IndexWriter and DirectoryReader to 
 enable subclasses of DR to be instantiated by Lucene, automatically.

--
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-3497) Make DirectoryReader protected methods non-final

2011-10-07 Thread Jason Rutherglen (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-3497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Rutherglen updated LUCENE-3497:
-

Attachment: LUCENE-3497.patch

The patch makes most of what is private in DR protected.  Protected is just 
like private, however, only subclasses can access protected methods and 
variables, or in the same package.

 Make DirectoryReader protected methods non-final
 

 Key: LUCENE-3497
 URL: https://issues.apache.org/jira/browse/LUCENE-3497
 Project: Lucene - Java
  Issue Type: Improvement
  Components: core/index
Affects Versions: 3.4, 4.0
Reporter: Jason Rutherglen
Priority: Minor
 Attachments: LUCENE-3497.patch


 DirectoryReader has protected methods that are overridden and made final.  
 This is silly because it prevents other classes from overriding 
 DirectoryReader.  The methods are doOpenIfChanged(*) and a handful of related 
 variables that are private.

--
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-3498) IndexReaderFactory for Lucene

2011-10-07 Thread Jason Rutherglen (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Rutherglen updated LUCENE-3498:
-

Attachment: LUCENE-3498.patch

Here's a first cut and all tests pass!

 IndexReaderFactory for Lucene
 -

 Key: LUCENE-3498
 URL: https://issues.apache.org/jira/browse/LUCENE-3498
 Project: Lucene - Java
  Issue Type: New Feature
  Components: core/index
Affects Versions: 3.4, 4.0
Reporter: Jason Rutherglen
Priority: Minor
 Attachments: LUCENE-3498.patch


 An IndexReaderFactory can be used by IndexWriter and DirectoryReader to 
 enable subclasses of DR to be instantiated by Lucene, automatically.

--
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-3493) Solr reopen on a custom reader doesn't work

2011-10-06 Thread Jason Rutherglen (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-3493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Rutherglen updated LUCENE-3493:
-

Attachment: LUCENE-3493.patch

Patch with unit test demonstrating the bug.  

The fix required in Lucene is randomly in the patch as well.

I'll post another patch showing the Lucene fix, allows fixing the bug on the 
Solr side.

 Solr reopen on a custom reader doesn't work
 ---

 Key: LUCENE-3493
 URL: https://issues.apache.org/jira/browse/LUCENE-3493
 Project: Lucene - Java
  Issue Type: Bug
  Components: core/index
Affects Versions: 3.4
Reporter: Jason Rutherglen
Priority: Blocker
 Attachments: LUCENE-3493.patch


 When a custom index reader is used with Solr and reopen, the custom reader 
 vanishes after the reopen.  It's a bug.

--
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org