Hi David,

This hack works for my example - a scenario to find SetA AND SetB
values.

How to get a NOT dataset for facets?
e.g.
SetA = 25 (13 only A, 12 common with B)
SetB = 27 (15 only B, 12 common with A)
SetA intersect setB = 12 (common) (using hack)
SetA union (or) setB = 13 + 15 + 12 = 40 (using usual facet)

How to get values that are in SetA but NOT in Set B = 13 (only A)?

Thanks,
Mahesh Kulkarni.

---------- Forwarded message ----------
From: David Huynh <dfhu...@alum.mit.edu>
Date: Mar 18 2009, 1:26 pm
Subject: "AND" between facet values
To: SIMILE Widgets


Luigi Spagnolo wrote:
>> It's a hack, but you can do it by making two facets on the same
>> property.  Exhibit will "and" between the selections on the two facets.

> Thank you for your answer.
> However, this seems to be not a suitable solution for my needs: if I
> need to compute an AND between N (with N arbitrary and not predictable
> in advance) values of the same proterty, I would need N facets;
> moreover, it would be very confusing for users to have multiple facets
> that control the same property.

> So this is the only possible solution/workaround?

> Maybe it would be useful to introduce a new parameter for facets that
> permits to specify if the multiple values selected may be combined
> with an OR or with an AND. This parameter could be also set
> dinamically by the user (e.g. with an option like "Filter items that
> satify: at least one costraint | all costraints" ).

Hi Luigi,

Short answer is, no, the listfacetdoesn't support that, yet. The
challenge isn't so much in the algorithms, but in the UI. For one
thing,
the choice counts will be different and harder to understand in the
AND
case.

David- Hide quoted text -

- Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to simile-widg...@googlegroups.com.
To unsubscribe from this group, send email to 
simile-widgets+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to