Re: solrcloud -How to delete a doc at a specific shard

2016-01-12 Thread Erick Erickson
bq: it is too hard understand,what do you mean "lots"? I mean that if you have one or two duplicate docs it's worth looking at things like leading or trailing spaces in the ID leading to IDs that look identical but aren't. If it's hundreds or thousands of docs, then it's probably indicative of so

Re: solrcloud -How to delete a doc at a specific shard

2016-01-12 Thread vidya
So, you have deployed solr server on three nodes namely 192.168.100.210;211;212 . Am I correct ? -- View this message in context: http://lucene.472066.n3.nabble.com/solrcloud-How-to-delete-a-doc-at-a-specific-shard-tp4249354p4250117.html Sent from the Solr - User mailing list archive at Nab

Re: solrcloud -How to delete a doc at a specific shard

2016-01-11 Thread elvis鱼人
i mean i changed zookeeper server from one ip address to the other ip address. it is too hard understand,what do you mean "lots"? -- View this message in context: http://lucene.472066.n3.nabble.com/solrcloud-How-to-delete-a-doc-at-a-specific-shard-tp4249354p4250078.html Sent from the Solr - U

Re: solrcloud -How to delete a doc at a specific shard

2016-01-11 Thread elvis鱼人
try config core.properties -- View this message in context: http://lucene.472066.n3.nabble.com/solrcloud-How-to-delete-a-doc-at-a-specific-shard-tp4249354p4250079.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: solrcloud -How to delete a doc at a specific shard

2016-01-11 Thread vidya
Hi I am new to solr and having a doubt on how one can know that a particular shard is in that particular node or ip address. Thanks in advance -- View this message in context: http://lucene.472066.n3.nabble.com/solrcloud-How-to-delete-a-doc-at-a-specific-shard-tp4249354p4250072.html Sent from

Re: solrcloud -How to delete a doc at a specific shard

2016-01-11 Thread Erick Erickson
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 "

Re: solrcloud -How to delete a doc at a specific shard

2016-01-11 Thread elvis鱼人
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.

Re: solrcloud -How to delete a doc at a specific shard

2016-01-09 Thread Erick Erickson
I don't really know unless there's _something_ different about the docs, and you could delete by _query_, something like id=XXX AND (condition unique to the doc you want to remove). I'm more concerned about how there got to be duplicate entries in the first place. There really shouldn't be any wit

Re: solrcloud -How to delete a doc at a specific shard

2016-01-08 Thread elvis鱼人
solr version is 5.2.0, this problem is different shards with the same ID, the document router is compositeId , and if i do this ../collection/update?commit=true&stream.body=idhere, then this id is missing in whole solrcloud. -- View this message in context: http://lucene.472066.n3.nabble.com/so

Re: solrcloud -How to delete a doc at a specific shard

2016-01-08 Thread Erick Erickson
This simply shouldn't be the case if by "duplicate" you mean it has the same id (i.e. the field defined as the uniqueKey in schema.xml). If you do have docs in different shards with the same ID, then something is very strange about your setup. What version of Solr BTW? Assuming you mean "same con