Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support edismax query #194

Open
gadelkareem opened this issue Jan 31, 2019 · 0 comments
Open

Support edismax query #194

gadelkareem opened this issue Jan 31, 2019 · 0 comments

Comments

@gadelkareem
Copy link

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant