Re: copy field from boolean to int

2015-03-18 Thread Kevin Osborn
to match "true" and "false" and > > replace them with "0" and "1" ? > > > > > > : Date: Tue, 17 Mar 2015 17:57:03 -0700 > > : From: Kevin Osborn > > : Reply-To: solr-user@lucene.apache.org > > : To: solr-user@lucen

Re: copy field from boolean to int

2015-03-17 Thread William Bell
ate: Tue, 17 Mar 2015 17:57:03 -0700 > : From: Kevin Osborn > : 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 > : no

Re: copy field from boolean to int

2015-03-17 Thread Chris Hostetter
ybe 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 : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: cop

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?