Re: copy field from boolean to int

2015-03-18 Thread Kevin Osborn
I already use this field elsewhere, so I don't want to change it's type. I did implement a UpdateRequestProcessor to copy from a bool to an int. This works, but even better would be to fix Solr so that I can use DocValues with boolean. So, I am going to try to get that working as well. On Tue, Mar

Re: copy field from boolean to int

2015-03-17 Thread William Bell
Can you reindex? Just use 1,0. On Tue, Mar 17, 2015 at 6:08 PM, Chris Hostetter wrote: > > 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

Re: copy field from boolean to int

2015-03-17 Thread Chris Hostetter
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 insta