You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by deansg <de...@gmail.com> on 2017/03/21 17:24:06 UTC
dataimport to a smaller Solr farm
Hello,
My team often uses the /dataimport & /dih handlers to move items from one
Solr collection to another. However, all the times we did that, the number
of shards in the new collection was always the same or higher than in the
old.
Can /dataimport work if I have less shards in the new collection than in the
old one? I tried specifying a shard from the new collection multiple times
in the data-config file, and it didn't seem to work - there were no visible
exceptions, but most items simply didn't enter the new collection.
Dean.
--
View this message in context: http://lucene.472066.n3.nabble.com/dataimport-to-a-smaller-Solr-farm-tp4326067.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: dataimport to a smaller Solr farm
Posted by Mikhail Khludnev <mk...@apache.org>.
Hello, Dean.
DIH is shard agnostic. How do you try to specify "a shard from the new
collection"?
On Tue, Mar 21, 2017 at 8:24 PM, deansg <de...@gmail.com> wrote:
> Hello,
> My team often uses the /dataimport & /dih handlers to move items from one
> Solr collection to another. However, all the times we did that, the number
> of shards in the new collection was always the same or higher than in the
> old.
> Can /dataimport work if I have less shards in the new collection than in
> the
> old one? I tried specifying a shard from the new collection multiple times
> in the data-config file, and it didn't seem to work - there were no visible
> exceptions, but most items simply didn't enter the new collection.
> Dean.
>
>
>
> --
> View this message in context: http://lucene.472066.n3.
> nabble.com/dataimport-to-a-smaller-Solr-farm-tp4326067.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
--
Sincerely yours
Mikhail Khludnev