Ok that worked thank you!
Now it seems like it is still using the default hashing function.
I put this in my solrconfig.xml under the <config> tag
<shardKeyParserFactory
class="org.apache.solr.common.cloud.CompositeIdShardKeyParser">
<str name="clause">groupid</str>
<bool name="clauseRequired">false</bool>
</shardKeyParserFactory>
I want to shard on groupid instead of id but it doesn't seem to be working.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-4-1-Custom-Hashing-DIH-tp4036316p4036352.html
Sent from the Solr - User mailing list archive at Nabble.com.