Re: questions about shard key

2016-10-12 Thread hairymcclarey
See here: https://lucidworks.com/blog/2013/06/13/solr-cloud-document-routing/ The default is to take 16 bits from the prefix and 16 from the ID. Not sure about the second part of your question, maybe someone else can answer that. On Wednesday, October 12, 2016 9:26 PM, "Huang, Daniel" wro

questions about shard key

2016-10-12 Thread Huang, Daniel
Hi, I was reading about document routing with CompositId (https://cwiki.apache.org/confluence/display/solr/Shards+and+Indexing+Data+in+SolrCloud). The document says that I could prefix a shard key to a document ID like “IBM!12345”. It further mentioned that I could specify the number of bit for