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
: 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
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
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
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