Skip to content

Support edismax query #194

@gadelkareem

Description

@gadelkareem

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions