lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otis Gospodnetic (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-350) Manage Multiple SolrCores
Date Fri, 22 Feb 2008 05:56:19 GMT

    [ https://issues.apache.org/jira/browse/SOLR-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571282#action_12571282
] 

Otis Gospodnetic commented on SOLR-350:
---------------------------------------

I haven't followed the patches, and I quickly read through the last month's worth of comments
here.  One thing that Hoss said caught my attention:

"...easy way to reuse the same solrconfig.xml for multiple cores and still
get subtle changes in behavior - all while making it transparent what
any one solrconfig.xml will do..."

Please count this as my +1 for this.
Yes, one use case is that each core is unique and thus needs unique configs, but I also have
a concrete use case where all cores are identical as far as the configs go, all that needs
to be different is the data directory where the index lives.  In this case, it would be ideal
if one could have a single copy of the schema.xml and solrconfig.xml, and specify core-specific
settings (e.g. data/index dir) in multicore.xml.

It would be even better if configs for cores were not all in a single/monolithic file - imagine
a situation where you have thousands or even tends of thousands of indices and you add a few
hundred or a few thousand new ones every day, throughout the day.  You could certainly regenerate
the whole multicore.xml file every time a new index is added, but it would be much more efficient
to generate just the descriptor for that single new index that was just created, and tell
Solr - "hey, look here, there is a new core/index you need to be aware of".  Perhaps one way
to deal with this is to expose an API (URL) to send such a "hey, look here...." message to
Solr, and let Solr periodically write out multicore.xml to disk.


> Manage Multiple SolrCores
> -------------------------
>
>                 Key: SOLR-350
>                 URL: https://issues.apache.org/jira/browse/SOLR-350
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Ryan McKinley
>         Attachments: SOLR-350-MultiCore.patch, SOLR-350-MultiCore.patch, SOLR-350-MultiCore.patch,
SOLR-350-Naming.patch, SOLR-350-Naming.patch, solr-350.patch, solr-350.patch, solr-350.patch,
solr-350.patch, solr-350.patch, solr-350.patch, solr-350.patch, solr-350.patch, solr-350.patch
>
>
> In SOLR-215, we enabled support for more then one SolrCore - but there is no way to use
them yet.
> We need to make some interface to manage, register, modify avaliable SolrCores

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


Mime
View raw message