We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccb67f2 commit e0e0983Copy full SHA for e0e0983
Resources/doc/usage.md
@@ -183,7 +183,7 @@ The following code will execute a search against the Elasticsearch server:
183
184
```php
185
$finder = $this->container->get('fos_elastica.finder.site.article');
186
-$boolQuery = new \Elastica\Query\Bool();
+$boolQuery = new \Elastica\Query\BoolQuery();
187
188
$fieldQuery = new \Elastica\Query\Match();
189
$fieldQuery->setFieldQuery('title', 'I am a title string');
Tests/Elastica/ClientTest.php
@@ -3,7 +3,7 @@
3
namespace FOS\ElasticaBundle\Tests\Client;
4
5
use Elastica\Request;
6
-use Elastica\Transport\Null as NullTransport;
+use Elastica\Transport\NullTransport;
7
8
class ClientTest extends \PHPUnit_Framework_TestCase
9
{
0 commit comments