Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8228 Facet Telemetry
  3. SOLR-9026

Design Facet Telemetry for non-JSON field facet

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.1, 7.0
    • Facet Module
    • None

    Description

      Non-JSON facet is widely used and telemetry is helpful is diagnosing expensive queries. As first step, the JIRA is to design telemetry for field facet.

      Example: (using films)

      $curl 'http://localhost:8228/solr/films/select?debugQuery=true&facet.field=genre&facet.field=directed_by&facet=true&indent=on&q=*:*&wt=json'
      ...
          "facet-trace":{
            "elapse":1,
            "sub-facet":[{
                "processor":"SimpleFacets",
                "elapse":1,
                "action":"field facet",
                "maxThreads":0,
                "sub-facet":[{
                    "method":"FC",
                    "inputDocSetSize":1100,
                    "field":"genre",
                    "numBuckets":213},
                  {
                    "method":"FC",
                    "inputDocSetSize":1100,
                    "field":"directed_by",
                    "numBuckets":1053}]}]},
      ...
      

      Attachments

        1. SOLR-9026.patch
          12 kB
          Michael Sun
        2. SOLR-9026.patch
          13 kB
          Michael Sun

        Activity

          People

            Unassigned Unassigned
            michael.sun Michael Sun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: