Re: frange and field with hyphen

2014-03-19 Thread Erick Erickson
h the field name >> in apostrophes: >> >> div(acc_curr_834_2-1900_tl,1) >> >> becomes: >> >> div(field('acc_curr_834_2-1900_tl'),1) >> >> -- Jack Krupansky >> >> -----Original Message----- From: Marcin Rzewucki >

Re: frange and field with hyphen

2014-03-19 Thread Marcin Rzewucki
gt; div(acc_curr_834_2-1900_tl,1) > > becomes: > > div(field('acc_curr_834_2-1900_tl'),1) > > -- Jack Krupansky > > -Original Message- From: Marcin Rzewucki > Sent: Wednesday, March 19, 2014 8:13 AM > To: solr-user@lucene.apache.org &g

Re: frange and field with hyphen

2014-03-19 Thread Jack Krupansky
Krupansky -Original Message- From: Marcin Rzewucki Sent: Wednesday, March 19, 2014 8:13 AM To: solr-user@lucene.apache.org Subject: frange and field with hyphen Hi everyone, I got the following issue recently. I'm trying to use frange on a field which has hyphen in name: tr

frange and field with hyphen

2014-03-19 Thread Marcin Rzewucki
Hi everyone, I got the following issue recently. I'm trying to use frange on a field which has hyphen in name: true on *:* xml {!frange l=1 u=99}sub(if(1, div(acc_curr_834_2-1900_tl, 1), 0), 1) 2.2 I got the following error: DEBUG - 2014-03-19 12:11:53.805; or