lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: solrcloud -How to delete a doc at a specific shard
Date Tue, 12 Jan 2016 04:01:01 GMT
OK, what exactly do you mean you "changed zookeeper"? If you went in and
reassigned IP addresses to nodes then all bets are off.

So do you have just a single (or a few) docs that are dups or lots? And by
"lots", I'm thinking if all the duplicate IDs are documents that have been
indexed since you "changed zookeeper", then I suspect that's the root and
you should recreate your collection and re-index it.

Manually editing Zookeeper nodes is a last resort, something you definitely
should _not_ do without a _very_ good reason.

Also, is it possible that some of your docs somehow gained a non-printing
character in the ID (and it's a string)? I'm thinking leading or trailing spaces
here.

Best,
Erick

On Mon, Jan 11, 2016 at 7:32 PM, elvis鱼人 <q474818917@163.com> wrote:
> hi Erick ,i really want to know too.
> i remembered change zookeeper,may be correlated with it
>
> shard1:
>           192.168.100.210:7001-leader
>           192.168.100.211:7001-replica
>
> shard2:
>           192.168.100.211:7002:leader
>           192.168.100.212:7001:replica
>
> shard3:
>           192.168.100.210:7002:leader
>           192.168.100.212:7002:replica
> It happens in shard1
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/solrcloud-How-to-delete-a-doc-at-a-specific-shard-tp4249354p4250058.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message