We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
We're trying to build a single query with multiple facets, like the one in this example.
The query should look like this:
"SELECT * FROM table FACET facet_1 FACET facet_2"
The builder seems to accept an array, but this is made into a single facet:
"SELECT * FROM table FACET facet_1, facet_2"
When we loop through the facets array and add the individual facets we get this:
"SELECT * FROM table FACET facet_1, facet_2 FACET facet_1, facet_2"
Which is somewhat closer to what we want, but still does not produce anything useful.
How do we make this happen?
The text was updated successfully, but these errors were encountered:
Managed to get it working by
use Facades\Foolz\SphinxQL\Facet; ... foreach($facets as $facet) { $query->facet(clone Facet::facet($facet)); }
and
Since this will probably break functionality I'll fork this repo and work from there.
Sorry, something went wrong.
No branches or pull requests
Hi,
We're trying to build a single query with multiple facets, like the one in this example.
The query should look like this:
The builder seems to accept an array, but this is made into a single facet:
When we loop through the facets array and add the individual facets we get this:
Which is somewhat closer to what we want, but still does not produce anything useful.
How do we make this happen?
The text was updated successfully, but these errors were encountered: