Re: Minor bug with Solritas and price data

2010-06-21 Thread Ken Krugler
Hi Hoss, You're the man. I'd copied/pasted the 1.3 schema fields into my testbed schema, which was based on the version of Solr we were using back in the Dark Ages, when the version was 1.0 (and there was no such handy comment warning about changing the version :)) So fields were multivalu

Re: Minor bug with Solritas and price data

2010-06-21 Thread Chris Hostetter
: Here's what's in my schema: : : : : Which is exactly what was in the original example schema. but what does hte "version" property of your schema say (at the top) this is what's in the example... -Hoss

Re: Minor bug with Solritas and price data

2010-06-21 Thread Ken Krugler
On Jun 19, 2010, at 7:48pm, Erik Hatcher wrote: That's not a bug with the example schema, as price is a single- valued field. getFirstValue will work, yes, but isn't necessary when it's single valued. If you've got multiple prices, you probably want something like: #foreach($price in

Re: Minor bug with Solritas and price data

2010-06-19 Thread Erik Hatcher
That's not a bug with the example schema, as price is a single-valued field. getFirstValue will work, yes, but isn't necessary when it's single valued. If you've got multiple prices, you probably want something like: #foreach($price in $doc.getFieldValue('price'))$! number.currency($p

Minor bug with Solritas and price data

2010-06-19 Thread Ken Krugler
I noticed that my prices weren't showing up, even though I've got a price field. I think the issue is with this line from hit.vm: #field('name') $! number.currency($doc.getFieldValue('price')) The number.currency() function needs to get passed something that looks like a number, but $do