Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-899

Non-distributed pivot faceting conflict with facet.mincount and facet.pivot.mincount

    XMLWordPrintableJSON

    Details

    • Type: Temp
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      At defaults the facet.mincount = 0 while the facet.pivot.mincount = 1.

      Within the pivot facet code, a facet is made by calling "getTermCounts" which adheres to the facet.mincount and facet.limit. When sorting by index it is very possible for this call to return a whole bunch of results with a count of 0 before any count of 1 results showed up. The facet.limit can be set so that all the results from the "getTermCounts" call are below the facet.pivot.mincount, resulting in nothing being attached to the pivot facet result, which is clearly incorrect.

      In any situation where the facet.mincount is lower than the facet.pivot.mincount the results will be incorrect.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andrew.muldowney Andrew Muldowney
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 336h
                336h
                Remaining:
                Remaining Estimate - 336h
                336h
                Logged:
                Time Spent - Not Specified
                Not Specified