lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Bailliez (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-433) MultiCore and SpellChecker replication
Date Thu, 02 Oct 2008 02:18:44 GMT

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

Stephane Bailliez commented on SOLR-433:
----------------------------------------

Note that on the last patches, the grep to retrieve the snapshot is incorrect:

{noformat}
ls ${data_dir}|grep "${snap_prefix}\."|grep -v wip|sort -r|head -1
{noformat}

would always retrieve the latest one on the ls, it needs to be with an anchor in the grep
for the prefix otherwise it will never update the index snapshot (since 'snapshot' is present
in every snapshot of index)

{noformat}
ls ${data_dir}|grep "^${snap_prefix}\."|grep -v wip|sort -r|head -1
{noformat}

should be changed in snappuller and snapinstaller

> 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.4
>
>         Attachments: RunExecutableListener.patch, SOLR-433-r698590.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 - 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.


Mime
View raw message