Can you open a jira to add docValues support for BoolField? ... i can't think of any good reason not to directly support that in Solr for BoolField ... seems like just an oversight that slipped through the cracks.
For now, your best bet is probably to use an UpdateProcessor ... maybe 2 instances of RegexReplaceProcessorFactory to match "true" and "false" and replace them with "0" and "1" ? : Date: Tue, 17 Mar 2015 17:57:03 -0700 : From: Kevin Osborn <kosb...@centraldesktop.com> : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: copy field from boolean to int : : I was hoping to use DocValues, but one of my fields is a boolean, which is : not currently supported by DocValues. I can use a copyField to convert my : boolean to a string. Is there is anyway to use a copyField to convert from : a boolean to a tint? -Hoss http://www.lucidworks.com/