Closed drmmr763 closed 5 years ago
Hi All
Just wanted to share my personal experience using this package in conjunction with a query builder package:
https://github.com/minimalcode-org/search
I combined both these into a laravel project as a service and was able to get some great results:
// build a query: $queryBuilder = Criteria::where('email')->in($emails); $queryBuilder->orWhere('phone')->in($phones);
// make a request $response = $client->request( 'POST', 'search/Candidate', [ 'body' => json_encode([ 'query' => $queryBuilder->getQuery(), 'fields' => 'id,firstName,lastName,email,phone' ]), ] );
Not sure the overall vision for this package, but it might be interesting to make the query builder a dependency. If not totally understand and I'm happy to handle that all in my project.
Hope this helps someone out there. Cheers!
Hi All
Just wanted to share my personal experience using this package in conjunction with a query builder package:
https://github.com/minimalcode-org/search
I combined both these into a laravel project as a service and was able to get some great results:
Not sure the overall vision for this package, but it might be interesting to make the query builder a dependency. If not totally understand and I'm happy to handle that all in my project.
Hope this helps someone out there. Cheers!