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

Problem with not main nodes in SearchSubTreeArray

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • 4.3.0
    • None

    Description

      We have object O1 (name: "test", with multiple locations:

      N1 (main, node_id:101, path:1/2/60/101)
      N2 (node_id:102, path: 1/2/62/102)
      N3 (node_id:103, path: 1/2/63/103)
      I`m doing the next:

      $solrSearch   = new eZSolr();
      $searchResult = $solrSearch->search(
          'test',
          array(
              'SearchSubTreeArray' => array( 62 ),
              'SpellCheck' => array( true ),
              'SearchType' => array( 'fulltext' ),
              'SearchLimit' => 10,
              'SearchOffset' => 0
          )
      )
      

      $searchResult['SearchResult'] should contain the eZFindResultNode object with node_id = 102. But it contains eZFindResultNode object with node_id = 101. Its because $searchResult['SearchResult'] allways contains just main nodes.

      Attachments

        Activity

          People

            jv@ez.no jv@ez.no
            l0rdj l0rdj
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: