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

Hoss Man commented on SOLR-433:
-------------------------------

as i recall, most of the scripts currently take a "-d data_dir" option ... and 
then use makethe following assumptions...
  1) ${data_dir}/index is what gets snapshooted/snapinstalled
  2) ${data_dir}/snapshot* is the pattern for naming snapshots.

a good way to evolve the scripts would probably be to have an alternate set of 
options ... maybe "-D dir" and "-S snapshots" that assumes ${dir} is where 
*all* the data to be snapshooted/snapinstalled lives, and ${snapshots} is where 
*all* snapshoots live.

(except i think some of the scripts already have a -D .. snappuller or 
snapcleaner maybe?)

alternate idea: we don't have to add a command line option at all ... support 
for something like this could require special scripts.conf options.

> MultiCore and SpellChecker replication
> --------------------------------------
>
>                 Key: SOLR-433
>                 URL: https://issues.apache.org/jira/browse/SOLR-433
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication, spellchecker
>    Affects Versions: 1.3
>            Reporter: Otis Gospodnetic
>             Fix For: 1.3
>
>
> With MultiCore functionality coming along, it looks like we'll need to be 
> able to:
>   A) snapshot each core's index directory, and
>   B) replicate any and all cores' complete data directories, not just their 
> index directories.
> Pulled from the "spellchecker and multi-core index replication" thread - 
> http://markmail.org/message/pj2rjzegifd6zm7m
> Otis:
> I think that makes sense - distribute everything for a given core, not just 
> its index.  And the spellchecker could then also have its data dir (and only 
> index/ underneath really) and be replicated in the same fashion.
> Right?
> Ryan:
> Yes, that was my thought.  If an arbitrary directory could be distributed, 
> then you could have
>   /path/to/dist/index/...
>   /path/to/dist/spelling-index/...
>   /path/to/dist/foo
> and that would all get put into a snapshot.  This would also let you put 
> multiple cores within a single distribution:
>   /path/to/dist/core0/index/...
>   /path/to/dist/core0/spelling-index/...
>   /path/to/dist/core0/foo
>   /path/to/dist/core1/index/...
>   /path/to/dist/core1/spelling-index/...
>   /path/to/dist/core1/foo

-- 
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