lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-11127) Add a Collections API command to migrate the .system collection schema from Trie-based (pre-7.0) to Points-based (7.0+)
Date Thu, 28 Feb 2019 21:02:00 GMT

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

Andrzej Bialecki  commented on SOLR-11127:
------------------------------------------

This patch implements a REINDEX_COLLECTION command (NOTE: it depends on the changes in SOLR-13271).
It uses the procedure described above. A daemon streaming expression is used for copying documents
between collections.

The new command supports reindexing any collection, with the usual caveats about potential
data loss, and it supports the following:
* different or the same source and target collection name (by using aliases, as described
above)
* most collection CREATE parameters are supported too, which allows re-shaping the collection
(eg. changing the number of shards, the router, etc)

Comments and review very appreciated!

> Add a Collections API command to migrate the .system collection schema from Trie-based
(pre-7.0) to Points-based (7.0+)
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-11127
>                 URL: https://issues.apache.org/jira/browse/SOLR-11127
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Steve Rowe
>            Assignee: Andrzej Bialecki 
>            Priority: Blocker
>              Labels: numeric-tries-to-points
>             Fix For: 8.0
>
>         Attachments: SOLR-11127.patch
>
>
> SOLR-11119 will switch the Trie fieldtypes in the .system collection's schema to Points.
> Users with pre-7.0 .system collections will no longer be able to use them once Trie fields
have been removed (8.0).
> Solr should provide a Collections API command MIGRATESYSTEMCOLLECTION to automatically
convert a Trie-based .system collection to a Points-based one.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message