Closed dev-yann closed 6 years ago
$query->getResult()
will return a array of mapped objects and not a list of fields
Okai but do you know how can i get two or more specific fields ? If I want Id, name and surname for example ?
you can use Solarium API for that. Call the solr.client.adapter
service to get the solarium-client.
Can i have a query example for get a specific fields ? I try this but it doesn't work
This code should give me only 'id' list, no ? ( I have all fields in result )