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

David Smiley commented on SOLR-11127:
-------------------------------------

You've been working on some cool and useful issues [~ab] – kudos!

I want to mention a couple suggestions to improve this feature in the future:
 * Making the source collection read-only might be inconvenient or infeasible 
for some apps.  As an option, a best-effort attempt would be useful.  Even if 
some changes don't make it, the client may already have a means of detecting 
data that needs to be resent, such as using a strategy involving looking at the 
highest timestamp. Or it may simply not matter, like for an experiment on the 
target.
 * IMO {{batchSize}} would have been a more appropriate name for {{rows}} 
param, which as it stands appears to be something that limits the reindexing to 
just this number of documents. After all, you used the same param name that we 
are all intimately familiar with for /select uses. I see this use of "rows" was 
in turn used by topic() but that's the same issue there. Ah well; many users 
won't touch this any way.

Also I suggest re-titling this issue to reflect your commit message – 
"REINDEXCOLLECTION command for re-indexing of existing collections.", not the 
original goal.

> 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.1, master (9.0)
>
>         Attachments: SOLR-11127.patch, SOLR-11127.patch, SOLR-11127.patch, 
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to