Skip to content

BUG: Dependency to flowpack/elasticsearch-contentrepositoryadaptor package #80

Description

@dlubitz

The Flowpack.SearchPlugin:SearchResultRenderer uses the searchHitForNode on the searchResults, which is only implemented in the ElasticSearchQueryResult of the flowpack/elasticsearch-contentrepositoryadaptor package.

    // we also make the full ElasticSearch hit available to nested rendering, if possible
    itemRenderer.@context.searchHit = ${searchResults.searchHitForNode(node)}

https://github.com/flowpack/Flowpack.SearchPlugin/blob/b80e9d9da6bca6f395250782130a7046653b5b72/Resources/Private/Fusion/Helper/SearchResultrenderer/SearchresultRenderer.fusion#L7-L7

This depencency is not wanted and breaks it's usage with flowpack/simplesearch-contentrepositoryadaptor

See also: #50

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions