Question: in a facet which has terms like time periods (&quot;today&quot;, &quot;yesterday&quot;...) or document types (&quot;documents&quot;, &quot;images&quot;...), which is the best way of calculating the numbers betweeen parenthesis?<div>


<br></div><div>I mean: in a faceted browsing, I take the result list, count how many times one of my terms applies to that result list, and write the number near the term itself, so the user is able to know how much the list is narrowed by selecting that term.</div>


<div>But if the list is constituted by XOR terms, so the user can select only _one_ of them at a time (think of radio buttons, or a button group), it does not make sense anymore if I update the numbers, because the list is not narrowed if the user selects &quot;this week&quot; after &quot;last week&quot;, it changes completely...</div>


<div><br></div><div>An example:</div><div><br></div><div>initial situation</div><div>  today (10)</div><div>  yesterday (5)</div><div>  this week (22)</div><div>  last week (18)</div><div><br></div><div>the user selects something on a different facet</div>


<div>  today (3)</div><div>  yesterday (1)</div><div>  this week (5)</div><div>  last week (7)</div><div><br></div><div>the user selects something on this facet</div><div>X today (3)</div><div>  yesterday (1)</div><div>  this week (5)</div>


<div>  last week (7)</div><div>(I do not update the numbers here, because it makes no sense: terms are in XOR)</div><div><br></div><div>the user _then_ selects something again on another facet</div><div>X today (2)</div>

<div>
  yesterday (0)</div><div>  this week (3)</div><div>  last week (1)</div><div>(I know, with zero they should disappear; here I change the numbers, because for example &quot;3&quot; is the number of results that the user will obtain)</div>


<div><br></div><div>In the end: how should those numbers behave on a XOR list (instead of the AND list, which is presented for example for the tag facet)?</div><div>For now I simply omit them in those kind of lists...<br clear="all">

<br>-- <br>Sivieri Alessandro<br><a href="mailto:alessandro.sivieri@gmail.com" target="_blank">alessandro.sivieri@gmail.com</a><br>
<a href="http://www.chimera-bellerofonte.eu/" target="_blank">http://www.chimera-bellerofonte.eu/</a><br><a href="http://www.poul.org/" target="_blank">http://www.poul.org/</a><br>
</div>