This project is read-only.

Wrong interpretion of TotalResults settings

Dec 16, 2009 at 2:10 AM
Edited Dec 16, 2009 at 2:11 AM

Hi,

I'm trying to collapse all facets by default. To achieve this I set tried seeting the TotalResults attribute to "0". Unfortunately this leads to having one entry per facet and no expand button. after that I started playing around that setting and experienced the following (strange) behaviour:

  • TotalResults="0"
    One item per facet, no expand button
  • TotalResults = "1"
    Two items per facet (if applicable, no expand button)
  • TotalResults = "n" (n >= 2)
    n+1 items per facet (if applicable), expand buttons present (if applicable...more or less, see below)

Problem with the expand buttons:
while having TotalResults set to "2" and three hits on a certain facet, that facet will display all three entries (according to the above mentioned behaviour), but the facet will also have the expand button displayed. Clicking on that button, changes it to the collapse button style, but it doesn't expand (or collapse) anything (as it already displays all three available options).
Seems to be a bug.

Version in use: 3.0

Regards,
  Daniel

Dec 16, 2009 at 3:36 AM

Daniel,

That seems a bug for n+1 clalculation.

Leonid