Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-27738

name of field is not return in the "facet_fields" attribute of the ez find result info

    XMLWordPrintable

Details

    Description

      if you do a query to solr via ezfind and then you try to play with facet_fields attribute, it happens that for every result, field is set to `facet_field` instead of the field name. as an example

      [0] => Array
              (
                  [field] => facet_fields
                  [count] => 1000
                  [queryLimit] => Array
                      (
                          [1] => meta_path_si:1
                          [2] => meta_path_si:2
                          [219] => meta_path_si:219
                         .....
      
          [1] => Array
              (
                  [field] => facet_fields
                  [count] => 19
                  [queryLimit] => Array
                      (
                          [103] => submeta_product_type___id____si:103
                          [1721] => submeta_product_type___id____si:1721
                          [102] => submeta_product_type___id____si:102
                          ... 
      

      This makes difficult to know to what field is the rest of the info related.
      I suggest change field to the field name instead.

      Attachments

        Activity

          People

            Unassigned Unassigned
            desorden desorden
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: