Flowpack.SearchPlugin icon indicating copy to clipboard operation
Flowpack.SearchPlugin copied to clipboard

BUG: Dependency to flowpack/elasticsearch-contentrepositoryadaptor package

Open dlubitz opened this issue 10 months ago • 0 comments

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
    [email protected] = ${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

dlubitz avatar Mar 17 '25 21:03 dlubitz