Closed vttn closed 8 years ago
Use the _all column
$q = 'Foo';
$businesses = $this->Businesses->find('all')->where(function ($builder) use($q) {
return $builder->query(new \Elastica\Query\SimpleQueryString($q));
});
acts more like _search/?q=Foo
How can I search documents without specifying a column i.e.
I tried
Thanks