In an Exhibit, I have a JSON data source where 90% of the items have
nearly identical attributes. To save space, remove redundancy and make
it easier maintainable, the items are group together with a COUNT
field.
JSON-fragment example. Instead of...
{label : "foobar"},
{label : "foobar"},
{label : "foobar"},
{label : "foobar"},
{label : "bar"},
{label : "bar"}
...the items are grouped together as...
{label : "foobar", numberOfItems: 4 },
{label : "bar", numberOfItems: 2 }
But this creates a problem for the facet count, which will display
foobar 1
bar 1
Is it possible to use the SUM of the numberOfItems-field as facet
count instead of counting the number of JSON objects? So that the
facet count will look like
foobar 4
bar 2
--
Harald Groven
Web developer
Norwegian Center for ICT in Education
--
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en.