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

Jason Rutherglen updated SOLR-567:
----------------------------------

    Attachment: solr.567.5.10.2008.patch

solr.567.5.10.2008.patch

Here's a rough patch of the changes.  SolrIndexSearcher becomes 
SolrIndexSearcherImpl.  It looks like most of SolrCore can remain mostly the 
same and be inherited from.  SolrIndexSearcher is an abstract class 
implementing methods the rest of the system uses.  

org.apache.solr.search.SolrIndexSearcher.initRegenerators should move and not 
static.

The CacheRegenerator is a problem because it uses SolrCache which other 
Searcher implementations may not use and may implement a different cache system.

Is UpdateHandler being deprecated?  

> SolrCore Pluggable
> ------------------
>
>                 Key: SOLR-567
>                 URL: https://issues.apache.org/jira/browse/SOLR-567
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Jason Rutherglen
>         Attachments: solr.567.5.10.2008.patch
>
>
> SolrCore needs to be an abstract class with the existing functionality in a 
> subclass.  SolrIndexSearcher the same.  It seems that most of the Searcher 
> methods in SolrIndexSearcher are not used.  The new abstract class need only 
> have the methods used by the other Solr classes.  This will allow other 
> indexing and search implementations to reuse the other parts of Solr.  Any 
> other classes that have functionality specific to the Solr implementation of 
> indexing and replication such as SolrConfig can be made abstract.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to