Solr
  1. Solr
  2. SOLR-4842

Field faceting with local params affects successive field faceting parameters

    Details

      Description

      SOLR-4717 introduced local param support for per-field faceting, allowing the same field to be faceted in various ways. There's a problem such that one fields local param setting will override the defaults of the next field. For example:

      http://localhost:8983/solr/query?q=*:*&facet=true&rows=0&facet.field={!facet.prefix=a}name&facet.field=features

      where the facet.prefix for name affects the features faceting.

      1. SOLR-4842.patch
        1 kB
        Erik Hatcher
      2. SOLR-4842.patch
        2 kB
        Erik Hatcher
      3. SOLR-4842.patch
        6 kB
        Erik Hatcher
      4. SOLR-4842.patch
        7 kB
        Hoss Man
      5. SOLR-4842__hoss_tests.patch
        4 kB
        Hoss Man

        Activity

        Erik Hatcher created issue -
        Erik Hatcher made changes -
        Field Original Value New Value
        Attachment SOLR-4842.patch [ 12583930 ]
        Yonik Seeley made changes -
        Fix Version/s 4.3.1 [ 12324395 ]
        Erik Hatcher made changes -
        Description SOLR-4717 introduced local param support for per-field faceting, allowing the same field to be faceted in various ways. There's a problem such that one fields local param setting will override the defaults of the next field. For example: facet.field={!key=foo facet.mincount=1 facet.missing=false}field&facet.field={!key=bar facet.missing=true}field causes the "bar" faceting to use facet.mincount=1 when it should use the default of 0. SOLR-4717 introduced local param support for per-field faceting, allowing the same field to be faceted in various ways. There's a problem such that one fields local param setting will override the defaults of the next field. For example: {code}facet.field={!key=foo facet.mincount=1 facet.missing=false}field&facet.field={!key=bar facet.missing=true}field{code} causes the "bar" faceting to use facet.mincount=1 when it should use the default of 0.
        Fix Version/s 4.3.1 [ 12324395 ]
        Hoss Man made changes -
        Attachment SOLR-4842__hoss_tests.patch [ 12583949 ]
        Erik Hatcher made changes -
        Attachment SOLR-4842.patch [ 12584009 ]
        Erik Hatcher made changes -
        Attachment SOLR-4842.patch [ 12584013 ]
        Erik Hatcher made changes -
        Description SOLR-4717 introduced local param support for per-field faceting, allowing the same field to be faceted in various ways. There's a problem such that one fields local param setting will override the defaults of the next field. For example: {code}facet.field={!key=foo facet.mincount=1 facet.missing=false}field&facet.field={!key=bar facet.missing=true}field{code} causes the "bar" faceting to use facet.mincount=1 when it should use the default of 0. SOLR-4717 introduced local param support for per-field faceting, allowing the same field to be faceted in various ways. There's a problem such that one fields local param setting will override the defaults of the next field. For example: {code}http://localhost:8983/solr/query?q=*:*&facet=true&rows=0&facet.field={!facet.prefix=a}name&facet.field=features{code} where the facet.prefix for name affects the features faceting.
        Erik Hatcher made changes -
        Fix Version/s 5.0 [ 12321664 ]
        Fix Version/s 4.3.1 [ 12324395 ]
        Hoss Man made changes -
        Attachment SOLR-4842.patch [ 12584032 ]
        Erik Hatcher made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Shalin Shekhar Mangar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Erik Hatcher
            Reporter:
            Erik Hatcher
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development