-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Context
Currently if you want your results to be hydrated by doctrine, you would use search, but without facet results. And if you want facet results, you'd use rawSearch, but the hits would not be hydrated. So you'll need to perform two requests to get both results.
Description
Can we have a method or an option, that combines raw results from the engine with the hydrated entities from doctrine.
Basic example
$this->searchService->search($em, Entity::class,$q, $options, $fieldsToRetrieve)
, where $fieldsToRetrieve is an array of strings, like ['hits','facetDistribution', 'estimatedTotalHits']
thislg
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers