Re: copy field from boolean to int

2015-03-18 Thread Kevin Osborn
? : 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

Re: copy field from boolean to int

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

copy field from boolean to int

2015-03-17 Thread Kevin Osborn
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?

Re: copy field from boolean to int

2015-03-17 Thread William Bell
...@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