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

eZFind:allow retrieving 'highlighting' as a SearchExtras attribute

    Details

      Description

      Part of the eZ Find search results is programmatically available using $result['result']['SearchExtras'];

      This includes attributes such as example, has_error, facet_fields, interestingTerms, etc
      However, the 'highlighting' is present in the result information from SOLR, but there is no attribute implementation for this field.

      It should be possible to access highlighting results using $SearchExtras->attribute('highlighting');

      This is particularly useful when performing custom searches with the $asObjects parameter set to false, in order to improve performance.
      In this case, there will be no highlighting terms available in the actual SearchResults.

        Activity

        Joao Inacio (Inactive) created issue -
        Joao Inacio (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Confirmed [ 10037 ]
        Joao Inacio (Inactive) made changes -
        Description Part of the eZ Find search results is programatically available using {{$result['result']['SearchExtras']}}

        This includes attributes such as {{example}}, {{has_error}}, {{facet_fields}}, {{interestingTerms}}, etc
        However, the 'highlighting' is present in the result information from SOLR, but there is no attribute implementation for this field.

        It should be possible to access highlighting results using {{$SearchExtras->attribute('highlighting')}};

        This is particularly useful when performing custom searches with the {{$asObjects}} parameter set to false, in order to improve performance.
        In this case, there will be no highlighting terms available in the actual SearchResults.
        Part of the eZ Find search results is programmatically available using $result['result']['SearchExtras'];

        This includes attributes such as {{example}}, {{has_error}}, {{facet_fields}}, {{interestingTerms}}, etc
        However, the 'highlighting' is present in the result information from SOLR, but there is no attribute implementation for this field.

        It should be possible to access highlighting results using {{$SearchExtras->attribute('highlighting')}};

        This is particularly useful when performing custom searches with the {{$asObjects}} parameter set to false, in order to improve performance.
        In this case, there will be no highlighting terms available in the actual SearchResults.
        André Rømcke made changes -
        Status Confirmed [ 10037 ] InputQ [ 10001 ]
        André Rømcke made changes -
        Status InputQ [ 10001 ] Development [ 3 ]
        Assignee André Rømcke [ andre.romcke@ez.no ]
        Show
        André Rømcke added a comment - Merged: https://github.com/ezsystems/ezfind/commit/34730cefa2511a9fc955ca66e489483d044f8869
        André Rømcke made changes -
        Status Development [ 3 ] Documentation done [ 10011 ]
        Affects Version/s 5.2 [ 12582 ]
        Affects Version/s 5.3 [ 11282 ]
        Affects Version/s 5.4-dev [ 13485 ]
        Fix Version/s 5.4 [ 13180 ]
        Pedro Resende (Inactive) made changes -
        Status Documentation done [ 10011 ] QA [ 10008 ]
        Assignee André Rømcke [ andre.romcke@ez.no ] Pedro Resende [ pedro.resende@ez.no ]
        Pedro Resende (Inactive) made changes -
        Rank Ranked lower
        Pedro Resende (Inactive) made changes -
        Comment [ A comment with security level 'Employees' was removed. ]
        Hide
        Pedro Resende (Inactive) added a comment -

        Tested and approved by Q.A.

        Show
        Pedro Resende (Inactive) added a comment - Tested and approved by Q.A.
        Pedro Resende (Inactive) made changes -
        Assignee Pedro Resende [ pedro.resende@ez.no ]
        Status QA [ 10008 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 57288 ] EZ* Development Workflow [ 84117 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 84117 ] EZEE Development Workflow [ 122753 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Confirmed Confirmed
        1m 43s 1 joao.inacio@ez.no 06/Aug/13 4:39 PM
        Confirmed Confirmed InputQ InputQ
        443d 21h 15m 1 André Rømcke 24/Oct/14 1:55 PM
        InputQ InputQ Development Development
        11s 1 André Rømcke 24/Oct/14 1:55 PM
        Development Development Documentation Review done Documentation Review done
        33s 1 André Rømcke 24/Oct/14 1:55 PM
        Documentation Review done Documentation Review done QA QA
        2d 23h 14m 1 pedro.resende@ez.no 27/Oct/14 12:10 PM
        QA QA Closed Closed
        2h 3m 1 pedro.resende@ez.no 27/Oct/14 2:14 PM

          People

          • Assignee:
            Unassigned
            Reporter:
            Joao Inacio (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: