lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Haggstrom (JIRA)" <>
Subject [jira] Updated: (SOLR-433) MultiCore and SpellChecker replication
Date Sun, 16 Nov 2008 21:32:47 GMT


Chris Haggstrom updated SOLR-433:

    Attachment: SOLR-433.patch

I've been using the patch submitted by Jonathan Lee on 10-02-08 for replicating a spelling
directory in addition to the index, and it works very well for that purpose.

I'm attaching a slightly modified patch that allows the snapshooter "-c" option to work with
an index or spelling directory that is not named "index".

> MultiCore and SpellChecker replication
> --------------------------------------
>                 Key: SOLR-433
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (scripts), spellchecker
>    Affects Versions: 1.3
>            Reporter: Otis Gospodnetic
>             Fix For: 1.4
>         Attachments: RunExecutableListener.patch, SOLR-433-r698590.patch, SOLR-433.patch,
SOLR-433.patch, SOLR-433.patch, solr-433.patch, SOLR-433_unified.patch, spellindexfix.patch
> 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 -
> 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
>   /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.

View raw message