Solr
  1. Solr
  2. SOLR-1814

select count(distinct fieldname) in SOLR

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.5
    • Fix Version/s: 4.7
    • Labels:
      None

      Description

      I have seen questions on the mailinglist about having the functionality for counting distinct on a field. We at Tailsweep as well want to that in for example our blogsearch.

      Example:
      "You had 1345 hits on 244 blogs"

      The 244 part is not possible in SOLR today (correct me if I am wrong). So I've written a component which does this. Attaching it.

        Issue Links

          Activity

          David Smiley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Shalin Shekhar Mangar made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Shalin Shekhar Mangar made changes -
          Link This issue duplicates SOLR-5428 [ SOLR-5428 ]
          Uwe Schindler made changes -
          Fix Version/s 4.7 [ 12325573 ]
          Fix Version/s 4.6 [ 12325000 ]
          Adrien Grand made changes -
          Fix Version/s 4.6 [ 12325000 ]
          Fix Version/s 5.0 [ 12321664 ]
          Fix Version/s 4.5 [ 12324743 ]
          Steve Rowe made changes -
          Fix Version/s 5.0 [ 12321664 ]
          Fix Version/s 4.5 [ 12324743 ]
          Fix Version/s 4.4 [ 12324324 ]
          Uwe Schindler made changes -
          Fix Version/s 4.4 [ 12324324 ]
          Fix Version/s 4.3 [ 12324128 ]
          Robert Muir made changes -
          Fix Version/s 4.3 [ 12324128 ]
          Fix Version/s 5.0 [ 12321664 ]
          Fix Version/s 4.2 [ 12323893 ]
          Mark Miller made changes -
          Fix Version/s 4.2 [ 12323893 ]
          Fix Version/s 5.0 [ 12321664 ]
          Fix Version/s 4.1 [ 12321141 ]
          Robert Muir made changes -
          Fix Version/s 4.1 [ 12321141 ]
          Fix Version/s 4.0 [ 12314992 ]
          Hoss Man made changes -
          Fix Version/s 3.6 [ 12319065 ]
          Simon Willnauer made changes -
          Fix Version/s 3.6 [ 12319065 ]
          Fix Version/s 3.5 [ 12317876 ]
          Robert Muir made changes -
          Fix Version/s 3.5 [ 12317876 ]
          Fix Version/s 3.4 [ 12316683 ]
          Robert Muir made changes -
          Fix Version/s 3.4 [ 12316683 ]
          Fix Version/s 4.0 [ 12314992 ]
          Fix Version/s 3.3 [ 12316471 ]
          Robert Muir made changes -
          Fix Version/s 3.3 [ 12316471 ]
          Fix Version/s 3.2 [ 12316172 ]
          Hoss Man made changes -
          Fix Version/s 3.2 [ 12316172 ]
          Fix Version/s Next [ 12315093 ]
          Hoss Man made changes -
          Fix Version/s Next [ 12315093 ]
          Fix Version/s 1.5 [ 12313566 ]
          Shalin Shekhar Mangar made changes -
          Fix Version/s 1.4 [ 12313351 ]
          Shalin Shekhar Mangar made changes -
          Affects Version/s 2.0 [ 12314371 ]
          Affects Version/s 1.6 [ 12314370 ]
          Fix Version/s 1.6 [ 12314370 ]
          Fix Version/s 2.0 [ 12314371 ]
          Affects Version/s 1.4 [ 12313351 ]
          Marcus Herou made changes -
          Affects Version/s 1.5 [ 12313566 ]
          Affects Version/s 1.6 [ 12314370 ]
          Affects Version/s 2.0 [ 12314371 ]
          Fix Version/s 1.5 [ 12313566 ]
          Fix Version/s 1.6 [ 12314370 ]
          Fix Version/s 2.0 [ 12314371 ]
          Fix Version/s 1.4 [ 12313351 ]
          Marcus Herou made changes -
          Field Original Value New Value
          Attachment CountComponent.java [ 12438390 ]
          Marcus Herou created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Marcus Herou
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development