Open gadelkareem opened 5 years ago
The edismax query described here https://solarium.readthedocs.io/en/stable/queries/select-query/building-a-select-query/components/edismax-component/ is not working directly with the bundle. I have to use getClient() to communicate directly with solarium ex:
$query = $solr->getClient()->createSelect(); $edismax = $query->getEDisMax(); $edismax->setQueryFields("title^10.0 desc^9.0 "); $query->setQuery($globalQuery); $resultset = $solr->getClient()->select($query);
using $solr->query($query); strips away all the edismax values.
$solr->query($query);
The edismax query described here https://solarium.readthedocs.io/en/stable/queries/select-query/building-a-select-query/components/edismax-component/ is not working directly with the bundle. I have to use getClient() to communicate directly with solarium ex:
using
$solr->query($query);
strips away all the edismax values.